Wednesday, September 1, 2010

Re: url lookup not working?

On Sep 1, 5:43 pm, eiriks <eirs...@gmail.com> wrote:
> I'm reading Bennets Practical Django Projects and I'm stuck on chapter
> 6, on templates.
>
> The error I get is:
> "Caught an exception while rendering: Could not import
> django.views.generic_list_detail. Error was: No module named
> generic_list_detail"
> with this line highlighted:
> 20           <li><a href="{% url coltrane_entry_archive_index %}">Entries</
> a></li>
>

Pretty sure that should be "generic.list_detail", with a dot instead
of the first underscore. You'll have to look through your code to see
where you've used that, as it's not in the code you supply below.
--
DR.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment