diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/instances.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 5e7151a89c..b2b04e04d5 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -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: |
