mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #5078 -- Fixed several broken links to the syndication documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9a54c8f2d4
commit
b54de86010
7 changed files with 11 additions and 7 deletions
|
@ -1942,10 +1942,12 @@ Django uses this in its admin interface. If an object defines
|
|||
link that will jump you directly to the object's public view, according to
|
||||
``get_absolute_url()``.
|
||||
|
||||
Also, a couple of other bits of Django, such as the syndication-feed framework,
|
||||
Also, a couple of other bits of Django, such as the `syndication feed framework`_,
|
||||
use ``get_absolute_url()`` as a convenience to reward people who've defined the
|
||||
method.
|
||||
|
||||
.. syndication feed framework: ../syndication_feeds/
|
||||
|
||||
It's good practice to use ``get_absolute_url()`` in templates, instead of
|
||||
hard-coding your objects' URLs. For example, this template code is bad::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue