Author: lukeplant
Date: 2010-08-30 05:29:44 -0500 (Mon, 30 Aug 2010)
New Revision: 13666

Modified:
   django/trunk/docs/ref/models/instances.txt
Log:
Fixed #14189 - permalink docs import mistake

Thanks to 7times9 for report and patch.



Modified: django/trunk/docs/ref/models/instances.txt
===================================================================
--- django/trunk/docs/ref/models/instances.txt  2010-08-30 10:27:08 UTC (rev 
13665)
+++ django/trunk/docs/ref/models/instances.txt  2010-08-30 10:29:44 UTC (rev 
13666)
@@ -515,7 +515,7 @@
 ...and then using that name to perform the reverse URL resolution instead
 of the view name::
 
-    from django.db.models import permalink
+    from django.db import models
 
     @models.permalink
     def get_absolute_url(self):

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to