2008/10/20 Karen Tracey <[EMAIL PROTECTED]>:
> On Mon, Oct 20, 2008 at 4:36 PM, AdamC <[EMAIL PROTECTED]> wrote:
>>
>> I'm running the latest checkout using svn as per the download
>> instructions on the djangoproject site.
>>
>
> OK, now that you've confirmed that and I take a closer look at the
> error....you have:
>
> {%url films.views.edit_film_list %}
>
> but I do not see any matching url with that view in the urls you posted:
>
> 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'),
>
> )
>
> The one that looks like it might be the one that should match
> (r'^apps/films/editfilm/$') is mapped to 'films.views.film_list', not
> 'films.views.edit_film_list'?

editfilm is a function that creates a form to edit a particular film.

edit_film_list is a function that shows a list of films with an edit
link beside that particular film.

This is all strange, as this application is running fine on an old svn
version of django (pre 1.0).

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