Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9240059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:07:26+00:00 2026-06-18T08:07:26+00:00

I’ve been trying to implement hyper links into my Django application, where a list

  • 0

I’ve been trying to implement hyper links into my Django application, where a list of items are displayed, clicking on each item will take you to a page detailing more information about the item.

I’ve been wrestling with the {% URL %} tag and despite searching over here, the internet and books on the matter, I’ve yet to get it working.

In views.py:

def Link(request):
    return render_to_response('Search_Page.html')

In Urls.py:

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'ParkManager.views.home', name='home'),
    # url(r'^ParkManager/', include('ParkManager.foo.urls')),
    url(r'^test/', Search_Page),
    url(r'^search/', Search),
    url(r'^details/', Details_Main),
    url(r'^Link/(d+}/$', Link),
    url(r'^$', 'Parks.views.Link', name="home"),

in my template:

 <a href="{% url home %}">test</a>

Thanks for your time 🙂

EDIT
error:

The page loads however the link only takes you to 127 .0 .0 .1 /8000
when I add: test

I get:

NoReverseMatch at /search/
Reverse for 'name' with arguments '(u'North West Thrill Centre',)' and keyword arguments '{}' not found.


Request Method:

GET



Request URL:

http://127.0.0.1:8000/search/?search=a&type=parks&submit=Search



Django Version:

1.4.2



Exception Type:

NoReverseMatch



Exception Value:

Reverse for 'name' with arguments '(u'North West Thrill Centre',)' and keyword arguments '{}' not found. 


Exception Location:

C:\Python27\lib\site-packages\django\template\defaulttags.py in render, line 424



Python Executable:

C:\Python27\python.exe



Python Version:

2.7.3



Python Path:

['C:\\Users\\User\\Documents\\Django\\ParkManager',
 'C:\\Windows\\system32\\python27.zip',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\lib',
 'C:\\Python27\\lib\\plat-win',
 'C:\\Python27\\lib\\lib-tk',
 'C:\\Python27',
 'C:\\Python27\\lib\\site-packages'] 


Server time:

Mon, 4 Feb 2013 16:05:30 +0000



Error during template rendering

In template C:\Users\User\Documents\Django\ParkManager\Templates\Details_Main.html, error at line 23

Reverse for 'name' with arguments '(u'North West Thrill Centre',)' and keyword arguments '{}' not found.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:07:28+00:00Added an answer on June 18, 2026 at 8:07 am

    A clue:
    Exception Location:
    C:\Python27\lib\re.py in _compile, line 242

    Your issue is not related to the url tag. It is a mal-formed regex in your urls.py.

    urls.py

    urlpatterns = patterns('',
        # Examples:
        # url(r'^$', 'ParkManager.views.home', name='home'),
        # url(r'^ParkManager/', include('ParkManager.foo.urls')),
        url(r'^test/', Search_Page),
        url(r'^search/', Search),
        url(r'^details/', Details_Main),
        # LINE BELOW has an open parentheses and not a closed parentheses. 
        url(r'^Link/(d+}/$', Link), 
        #url(r'^Link/(d+)/$', Link), #line fixed 
        url(r'^$', 'Parks.views.Link', name="home"),
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I have a jquery bug and I've been looking for hours now, I can't
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to select an H1 element which is the second-child in its group
I have been unable to fix a problem with Java Unicode and encoding. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.