diff options
| author | Simon Willison <simon@simonwillison.net> | 2008-06-15 18:21:11 +0000 |
|---|---|---|
| committer | Simon Willison <simon@simonwillison.net> | 2008-06-15 18:21:11 +0000 |
| commit | e8cd4084b7903cf6b5d96dbf292ec15ac40b2e58 (patch) | |
| tree | 7fa3ed1f87d13503cd64acdc9666765a31d9e25a /docs | |
| parent | faae7c0faf859edb9b60a1a45669b9127efa3f37 (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')
0 files changed, 0 insertions, 0 deletions
