#8997: Misleading error message when calling get_absolute_url
---------------------------------------------------------+------------------
Reporter: Rob <[email protected]> | Owner:
nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.1
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------------+------------------
Changes (by GDorn):
* version: 1.0 => 1.1
Comment:
How to make this happen:
Make sure DEBUG=True (otherwise it'll just 404).
Make a model object with a get_absolute_url() function with an error in
it. Try a divide by zero, that's fun.
Hook the model up to the django admin.
Create one of these models.
Click the 'view on site' button.
This applies to Django 1.1 as well as 1.0, so I'm updating the version.
--
Ticket URL: <http://code.djangoproject.com/ticket/8997#comment:5>
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.