diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-09 20:41:14 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-24 17:39:02 +0100 |
| commit | b7ee576ac44a7f2eae484ec8ed215bf2dc0ae179 (patch) | |
| tree | 7743e265e62fb2e4ae284333de8be5f26b2ab268 | |
| parent | 8e6d2c425cb156a06a8d6de7c58adbcf3e5c3845 (diff) | |
| download | Ishtar-b7ee576ac44a7f2eae484ec8ed215bf2dc0ae179.tar.bz2 Ishtar-b7ee576ac44a7f2eae484ec8ed215bf2dc0ae179.zip | |
Simple customisation of the administration pages (refs #26)
| -rw-r--r-- | ishtar/settings.py.example | 6 | ||||
| -rw-r--r-- | ishtar/templates/admin/base_site.html | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/ishtar/settings.py.example b/ishtar/settings.py.example index 5a15e0e6d..1c5f3e7f2 100644 --- a/ishtar/settings.py.example +++ b/ishtar/settings.py.example @@ -3,6 +3,8 @@ # Ishtar custom SRID = 27572 +ROOT_PATH = "/var/local/webapp/ishtar/ishtar/" + DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -83,9 +85,7 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'ishtar.urls' TEMPLATE_DIRS = ( - # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". - # Always use forward slashes, even on Windows. - # Don't forget to use absolute paths, not relative paths. + ROOT_PATH + 'templates', ) INSTALLED_APPS = ( diff --git a/ishtar/templates/admin/base_site.html b/ishtar/templates/admin/base_site.html new file mode 100644 index 000000000..3282d4f5a --- /dev/null +++ b/ishtar/templates/admin/base_site.html @@ -0,0 +1,10 @@ +{% extends "admin/base.html" %} +{% load i18n %} + +{% block title %}{{ title }} | {% trans 'Ishtar administration' %}{% endblock %} + +{% block branding %} +<h1 id="site-name">{% trans 'Ishtar administration' %}</h1> +{% endblock %} + +{% block nav-global %}{% endblock %} |
