Wednesday, August 31, 2011

Re: Unable to have a template NOT show up

When I said you're right, I meant your insight into my spelling
error. Those are the most annoying errors since they are so difficult
to figure out after staring at the screen for so long.

On Aug 31, 3:35 pm, Reinout van Rees <rein...@vanrees.org> wrote:
> On 31-08-11 21:05, Yves S. Garret wrote:
>
> > In template c:\python27\lib\site-packages\django\contrib\admin
> > \templates\admin\change_list.html, error at line 11
> > Caught ViewDoesNotExist while rendering: Could not import polls.view.
> > Error was: No module named view
>
> Most possible reason that I can think of right now:
>
> You mis-typed something in your urls.py. I'd expect there to be a
> "polls.view...." in there instead of the customary "polls.views...", so
> with an 's'.
>
> The module is "views.py", not "view.py".
>
> Just guessing...
>
> Reinout
>
> --
> Reinout van Rees                    http://reinout.vanrees.org/
> rein...@vanrees.org            http://www.nelen-schuurmans.nl/
> "If you're not sure what to do, make something. -- Paul Graham"

--
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