Hi Goutam,

Post your urls.py somewhere.
It seems you have not added anything in urls.py to handle homepage_about.
regards,
atm
___
Life is short, Live it hard.




On 6 April 2011 18:26, GOUTAM KUMAR RANA <ranagou...@gmail.com> wrote:

> Environment:
>
>
> Request Method: GET
> Request URL: http://localhost:8000/
>
> Django Version: 1.3
> Python Version: 2.7.1
> Installed Applications:
> ['django.contrib.auth',
>  'django.contrib.contenttypes'
> ,
>  'django.contrib.sessions',
>  'django.contrib.sites',
>  'django.contrib.messages',
>  'django.contrib.staticfiles',
>  'apps.data',
>  'django.contrib.admin',
>  'django.contrib.admindocs']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.middleware.csrf.CsrfViewMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.contrib.messages.middleware.MessageMiddleware')
>
>
> Template error:
> In template
> d:\djangoproject\p_source_code\inventory\templates\homepage\index.html,
> error at line 7
>    Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with
> arguments '()' and keyword arguments '{}' not found.
>    1 : {% extends "base.html"%}
>
>
>    2 : {% block title %}
>
>
>    3 : Index Page
>
>
>    4 : {% endblock %}
>
>
>    5 :
>
>
>    6 : {% block navi %}
>
>
>    7 : <a href="{% url homepage_index %}">home</a> - <a href=" {% url
> homepage_about %} ">about</a> - <a href="{% url homepage_archive
> %}">archive</a> - <a href="{% url homepage_contact %}">contact</a>contact
>
>
>    8 : {% endblock %}
>
>
>    9 :
>
>
>    10 : {% block content %}
>
>
>    11 : <h3>Entries:</h3>
>
>
>    12 : {% for e in entries %}
>
>
>    13 :             <div> {{ e.title }}-{{ e.created }} </div>
>
>
>    14 :             <div> {{ e.text }} </div
>
>
>    15 :             <br />
>
>
>    16 :     {% endfor %}
>
>
>    17 : {% endblock %}
>
>
> Traceback:
> File "C:\PYTHON27\lib\site-packages\django\core\handlers\base.py" in
> get_response
>   111.                         response = callback(request, *callback_args,
> **callback_kwargs)
> File
> "D:\DjangoProject\p_source_code\inventory\..\inventory\apps\homepage\views.py"
> in index
>   7.     return render_to_response('homepage/index.html',ctx)
> File "C:\PYTHON27\lib\site-packages\django\shortcuts\__init__.py" in
> render_to_response
>   20.     return HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
> File "C:\PYTHON27\lib\site-packages\django\template\loader.py" in
> render_to_string
>   183.         return t.render(Context(dictionary))
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   123.             return self._render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in _render
>   117.         return self.nodelist.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   744.                 bits.append(self.render_node(node, context))
> File "C:\PYTHON27\lib\site-packages\django\template\debug.py" in
> render_node
>   73.             result = node.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\loader_tags.py" in
> render
>   127.         return compiled_parent._render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in _render
>   117.         return self.nodelist.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   744.                 bits.append(self.render_node(node, context))
> File "C:\PYTHON27\lib\site-packages\django\template\debug.py" in
> render_node
>   73.             result = node.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\loader_tags.py" in
> render
>   64.             result = block.nodelist.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   744.                 bits.append(self.render_node(node, context))
> File "C:\PYTHON27\lib\site-packages\django\template\debug.py" in
> render_node
>   73.             result = node.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\defaulttags.py" in
> render
>   450.                         raise e
>
> Exception Type: TemplateSyntaxError at /
> Exception Value: Caught NoReverseMatch while rendering: Reverse for
> 'homepage_about' with arguments '()' and keyword arguments '{}' not found.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to