Ticket #3646: 3646.diff

File 3646.diff, 725 bytes (added by James Bennett, 18 years ago)

Documentation patch to resolve this

  • docs/settings.txt

     
    162162``get_absolute_url()`` methods on a per-installation basis. Example::
    163163
    164164    ABSOLUTE_URL_OVERRIDES = {
    165         'blogs.Weblog': lambda o: "/blogs/%s/" % o.slug,
    166         'news.Story': lambda o: "/stories/%s/%s/" % (o.pub_year, o.slug),
     165        'blogs.weblog': lambda o: "/blogs/%s/" % o.slug,
     166        'news.story': lambda o: "/stories/%s/%s/" % (o.pub_year, o.slug),
    167167    }
    168168
     169Note that the model name used in this setting should be all lower-case, regardless
     170of the case of the actual model class name.
     171
    169172ADMIN_FOR
    170173---------
    171174
Back to Top