#8960: "View on site" does not work if contrib.sites is not installed
-----------------------------------+----------------------------------------
Reporter: bmihelac | Owner: adrian
Status: assigned | Milestone: 1.3
Component: Contrib apps | Version: 1.1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by CarlFK):
Until the code is fixed, how about fixing the docs:
http://docs.djangoproject.com/en/dev/ref/models/instances/#django.db.models.Model.get_absolute_url
should say "You will need the sites framework installed."
http://code.djangoproject.com/ticket/2319 patched the sites docs, but I
think that's an odd place for that bit of info. If I discover
get_absolute_url and "View on site", I have no way of knowing that I need
to now go read the site docs.
--
Ticket URL: <http://code.djangoproject.com/ticket/8960#comment:16>
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.