diff options
author | Markus Zapke-Grùˆndemann <info@keimlink.de> | 2011-12-30 01:56:05 +0100 |
---|---|---|
committer | Markus Zapke-Grùˆndemann <info@keimlink.de> | 2011-12-30 01:56:05 +0100 |
commit | 4d759e6c57c70d26ccf2eff06cdb91496225abc2 (patch) | |
tree | f0e68b92819bf32c1f143b35a89ecc4b8949ea8c | |
parent | 3cc87b94ad57cf484453341c041bcf06c31981d3 (diff) |
Added flatpages and more logos.
-rw-r--r-- | sublab_project/settings.py | 2 | ||||
-rw-r--r-- | sublab_project/static/img/logo_large.png | bin | 0 -> 84331 bytes | |||
-rw-r--r-- | sublab_project/static/img/logo_medium.png | bin | 0 -> 25164 bytes | |||
-rw-r--r-- | sublab_project/templates/flatpages/default.html | 5 |
4 files changed, 7 insertions, 0 deletions
diff --git a/sublab_project/settings.py b/sublab_project/settings.py index d5f7cad..a3d63e7 100644 --- a/sublab_project/settings.py +++ b/sublab_project/settings.py @@ -101,6 +101,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', ) ROOT_URLCONF = 'sublab_project.urls' @@ -123,6 +124,7 @@ INSTALLED_APPS = ( 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', + 'django.contrib.flatpages', 'south', 'gunicorn', 'news', diff --git a/sublab_project/static/img/logo_large.png b/sublab_project/static/img/logo_large.png Binary files differnew file mode 100644 index 0000000..150f66f --- /dev/null +++ b/sublab_project/static/img/logo_large.png diff --git a/sublab_project/static/img/logo_medium.png b/sublab_project/static/img/logo_medium.png Binary files differnew file mode 100644 index 0000000..18afec6 --- /dev/null +++ b/sublab_project/static/img/logo_medium.png diff --git a/sublab_project/templates/flatpages/default.html b/sublab_project/templates/flatpages/default.html new file mode 100644 index 0000000..1632bc6 --- /dev/null +++ b/sublab_project/templates/flatpages/default.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block title %}{{ flatpage.title }}{% endblock%} + +{% block content %}{{ flatpage.content }}{% endblock%} |