1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.0.X]: Fixed #10553 -- Corrected several uses of URLconf in documentation and comments, according to the Django style guide. Based on patch from rduffield.

Backport of r10256 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr
2009-03-31 16:09:22 +00:00
parent f6524d9c1f
commit b3b541b68e
9 changed files with 16 additions and 18 deletions

View File

@@ -290,7 +290,7 @@ The ``permalink`` decorator
The problem with the way we wrote ``get_absolute_url()`` above is that it
slightly violates the DRY principle: the URL for this object is defined both
in the URLConf file and in the model.
in the URLconf file and in the model.
You can further decouple your models from the URLconf using the ``permalink``
decorator: