summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
diff options
context:
space:
mode:
authorSimon Willison <simon@simonwillison.net>2008-06-15 18:21:11 +0000
committerSimon Willison <simon@simonwillison.net>2008-06-15 18:21:11 +0000
commite8cd4084b7903cf6b5d96dbf292ec15ac40b2e58 (patch)
tree7fa3ed1f87d13503cd64acdc9666765a31d9e25a /docs/templates_python.txt
parentfaae7c0faf859edb9b60a1a45669b9127efa3f37 (diff)
AdminSite.root() now figures out the base URL of the admin site and stashes it as self.root_path. This is made available to admin templates, avoiding the need to use relative URLs for links to higher level admin pages. One consequence of this change is that you can now reliably over-ride the userlinks block in a custom base_site.html template.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/templates_python.txt')
0 files changed, 0 insertions, 0 deletions