Please allow a pure newbie to ask a couple questions . . . read in

Ivan Sagalaev wrote:
> [EMAIL PROTECTED] wrote:
> >     Now with django, I am trying to run through the "Are you generic"
> > tutorial.  When I go out to the URL, I get a 404 "Page not found"
> > message, but absolutely no more information as to where to look!  I
> > thought by using the devel version with the verbosity flag, it would be
> > able to show me something more, but nope!
>
> I suspect you hit one small Django controversy. The generic view
> object_list would give you 404 error when the list it tries to show is
> empty. The view is there, it works, finds the list -- all is Ok. It just
> has this strange behavior by default. To overcome it you can add
> allow_empty: True to its infodict.

add "allow_empty: True" to the infodict of what?

could this also be solved by actually adding data to the db before
trying to look at the page?


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