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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2009-03-31 16:07:07 +00:00
parent 3a0950739b
commit b4f5655c86
10 changed files with 17 additions and 19 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: