#9798: object_list paginated raise a http404 when a its a InvalidPage
------------------------------------+---------------------------------------
Reporter: zodman | Owner: nobody
Status: reopened | Milestone:
Component: Generic views | Version: SVN
Resolution: | Keywords: page paginator object_list
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by askfor):
* cc: [email protected] (added)
* status: closed => reopened
* resolution: wontfix =>
Comment:
I came across the same problem.
User delete some objects and then redirect to the previous page, got a
http404.
It would be better if we can control the behavior. (get the last page as
zodman said or something else)
And all those date-based generic views have the "allow_empty" argument so
that this behavior can be controlled by programmer.
--
Ticket URL: <http://code.djangoproject.com/ticket/9798#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---