Code

Ticket #14189: permalink-import.diff

File permalink-import.diff, 458 bytes (added by 7times9, 4 years ago)
Line 
1Index: docs/ref/models/instances.txt
2===================================================================
3--- docs/ref/models/instances.txt       (revision 13663)
4+++ docs/ref/models/instances.txt       (working copy)
5@@ -515,7 +515,7 @@
6 ...and then using that name to perform the reverse URL resolution instead
7 of the view name::
8 
9-    from django.db.models import permalink
10+    from django.db import models
11 
12     @models.permalink
13     def get_absolute_url(self):