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 6120111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:37:52+00:00 2026-05-23T15:37:52+00:00

Error: Caught NoReverseMatch while rendering: Reverse for ‘archive’ with arguments ‘()’ and keyword arguments

  • 0

Error:

Caught NoReverseMatch while rendering: Reverse for 'archive' with arguments '()' and keyword arguments '{}' not found.

Template error

In template /home/bravedick/Aptana Studio 3 Workspace/blog/templates/homepage/index.html, error at line 7

line 7:

6   <a href="{% url index %}">Index</a>
7   <a href="{% url archive %}">Archive</a>
8   <a href="{% url contacts %}">Contacts</a>

main urls.py:

from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    (r'^$', include('blog.apps.homepage.urls')),
    # url(r'^$', 'blog.views.home', name='home'),
    # url(r'^blog/', include('blog.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)

my urls.py:

from django.conf.urls.defaults import *

urlpatterns = patterns('blog.apps.homepage.views',
    url(r'^$', 'index', name='index'),
    url(r'^about/$', 'about', name='about'),
    url(r'^archive/$', 'archive', name='archive'),
    url(r'^contacts/$', 'contacts', name='contacts'),
)

views:

from django.shortcuts import render_to_response
from blog.apps.data.models import Entry

def index(request):
    entries = Entry.objects.published_entries().order_by('-id')
    ctx = {'entries':entries}
    return render_to_response("homepage/index.html", ctx)

def about(request):
    return render_to_response("homepage/about.html")

def contacts(request):
    return render_to_response("homepage/contacts.html")

def archive(request):
    return render_to_response("homepage/archive.html")
  • 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-05-23T15:37:52+00:00Added an answer on May 23, 2026 at 3:37 pm

    I can see one immediate problem with your main url configuration. You have a ‘$’ symbol, signifying end of the url in your include statement.

    That line should read:

    (r'^', include('blog.apps.homepage.urls')),
    

    Here’s the documentation for include.

    Also check that blog.apps.homepage.urls is a valid import path. Run the following to open a django shell:

    ./manage.py shell
    

    Then type:

    from blog.apps.homepage import urls
    

    If you get an import error, try to work out what the proper import path should be and use that in your include statement.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem with this error: Caught NoReverseMatch while rendering: Reverse for ''pennies.views.seed_preview''
The Error - Caught FieldError while rendering: Cannot resolve keyword 'user' into field. Choices
I seem to be getting a Caught NoReverseMatch error. I am not so sure
I receive this error: Caught AttributeError while rendering: 'dict' object has no attribute 'friendship'.
With django-socialregistration , got following error: Caught ImportError while rendering: No module named httplib2
I have run into a problem using PDO because an error was not caught.
As you can see by the tittle I have a weird Caught NoReverseMatch while
Error: End tag for 'optgroup' which is not finished. You have probably failed to
Error % javac StringTest.java StringTest.java:4: variable errorSoon might not have been initialized errorSoon[0] =
in views.py I have this: def logout(request,key): auth.logout(request) return HttpResponseRedirect(reverse('airAgency.views.index',args=[key])) in index template i

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.