Skip to content
Browse files

Fixed #3646 -- Corrected documentation for ABSOLUTE_URL_OVERRIDES. Pa…

…tch from

James Bennett.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6af3409 commit 98b2e0a035fefa777cfda5a48283cd014703a505 @malcolmt malcolmt committed
Showing with 5 additions and 2 deletions.
  1. +5 −2 docs/settings.txt
7 docs/settings.txt
@@ -162,10 +162,13 @@ a model object and return its URL. This is a way of overriding
``get_absolute_url()`` methods on a per-installation basis. Example::
- 'blogs.Weblog': lambda o: "/blogs/%s/" % o.slug,
- 'news.Story': lambda o: "/stories/%s/%s/" % (o.pub_year, o.slug),
+ 'blogs.weblog': lambda o: "/blogs/%s/" % o.slug,
+ 'news.story': lambda o: "/stories/%s/%s/" % (o.pub_year, o.slug),
+Note that the model name used in this setting should be all lower-case, regardless
+of the case of the actual model class name.

0 comments on commit 98b2e0a

Please sign in to comment.
Something went wrong with that request. Please try again.