I'm migrating my application (a simple film database) to another server.

I installed version 1.0 of django on the new server and set up apache
with mod_python (which was the same setup on my old server).

However, I seem to be having some problems. When I try and login to my
application (which seems to work well, I get the error:

TemplateSyntaxError at /apps/films/
Caught an exception while rendering: Reverse for
'films.films.views.edit_film_list' with arguments '()' and keyword
arguments '{}' not found.

Original Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File "/usr/lib/python2.5/site-packages/django/template/defaulttags.py",
line 378, in render
    args=args, kwargs=kwargs)
  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 254, in reverse
    *args, **kwargs)))
  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 243, in reverse
    "arguments '%s' not found." % (lookup_view, args, kwargs))
NoReverseMatch: Reverse for 'films.films.views.edit_film_list' with
arguments '()' and keyword arguments '{}' not found.

Request Method:         GET
Request URL:    http://192.168.1.10/apps/films/
Exception Type:         TemplateSyntaxError
Exception Value:        

Caught an exception while rendering: Reverse for
'films.films.views.edit_film_list' with arguments '()' and keyword
arguments '{}' not found.

Original Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File "/usr/lib/python2.5/site-packages/django/template/defaulttags.py",
line 378, in render
    args=args, kwargs=kwargs)
  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 254, in reverse
    *args, **kwargs)))
  File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py",
line 243, in reverse
    "arguments '%s' not found." % (lookup_view, args, kwargs))
NoReverseMatch: Reverse for 'films.films.views.edit_film_list' with
arguments '()' and keyword arguments '{}' not found.

Exception Location:
        /usr/lib/python2.5/site-packages/django/template/debug.py in
render_node, line 81
Python Executable:      /usr/bin/python
Python Version:         2.5.2
Python Path:    ['/home/adam/apps', '/usr/lib/python25.zip',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/var/lib/python-support/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/var/lib/python-support/python2.5/gtk-2.0']
Server time:    Sun, 19 Oct 2008 19:21:07 +0100

Template error

In template /home/adam/apps/films/templates/includes/nav.html, error at line 1
Caught an exception while rendering: Reverse for
'films.films.views.edit_film_list' with arguments '()' and keyword
arguments '{}' not found.
1       | <a href="{%url films.views.film_list %}">Film list</a> | <a
href="{%url films.views.add_film %}">Add a film</a> | <a href="{%url
films.views.edit_film_list %}">Edit</a> | <a href="{%url
films.views.search %}">Search</a> | <a href="{%url
films.views.logout_view %}">Logout</a>

The part that is red in this error report is the {%url - has this
changed since version 1?

Any other advice on how to fix this error?

TIA
Adam
--
You back your data up on the same planet?
http://www.monkeez.org
PGP key: 0x7111B833

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to