2008/10/19 Jarek Zgoda <[EMAIL PROTECTED]>: > > Wiadomość napisana w dniu 2008-10-19, o godz. 20:25, przez AdamC: > >> 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? > > > Double check your urlconf - all views used there have to be > importable. The error pobably means you have some error in your views > (or some url pattern pointing to view that does not exist). > > -- > We read Knuth so you don't have to. - Tim Peters
My urls.py from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^apps/login/.?$', 'django.contrib.auth.views.login'), (r'^apps/admin/(.*)', admin.site.root), (r'^apps/films/$', 'films.views.film_list'), (r'^apps/films/(?P<film_id>\d+)/$', 'films.views.detail'), (r'^apps/films/search/$', 'films.views.search'), (r'^apps/films/addfilm/$', 'films.views.add_film'), (r'^apps/films/addfilm/thanks/$', 'films.views.add_film_thanks'), (r'^apps/films/editfilm/(?P<film_id>\d+)/$', 'films.views.edit_film'), (r'^apps/films/editfilm/$', 'films.views.film_list'), (r'^apps/films/deletefilm/$', 'films.views.film_list'), (r'^apps/films/deletefilm/(?P<film_id>\d+)$', 'films.views.delete_film'), (r'^apps/films/logout/$', 'films.views.logout_view'), ) Anything untoward here? -- 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 -~----------~----~----~----~------~----~------~--~---