From df72a2f66dd8294f747f9fbcd677c0159bdacb88 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Sun, 3 May 2015 21:34:23 +0000 Subject: [PATCH] Added tasks app --- README.md | 2 +- .../conf/project_template/project_name/settings.py | 12 +----------- orchestra/templates/admin/orchestra/menu.html | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index be3715f5..7dbf0ee2 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ sudo apt-get install python3.4-dev libxml2-dev libxslt1-dev libcrack2-dev pip3 install -r \ https://raw.githubusercontent.com/glic3rinu/django-orchestra/master/requirements.txt -# Create an orchestra instance +# Create an new Orchestra site orchestra-admin startproject panel python3 panel/manage.py migrate accounts python3 panel/manage.py migrate diff --git a/orchestra/conf/project_template/project_name/settings.py b/orchestra/conf/project_template/project_name/settings.py index dd85ed9d..fc64a9be 100644 --- a/orchestra/conf/project_template/project_name/settings.py +++ b/orchestra/conf/project_template/project_name/settings.py @@ -109,23 +109,13 @@ TEMPLATES = [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', + 'orchestra.core.context_processors.site', ], }, }, ] -TEMPLATE_CONTEXT_PROCESSORS =( - "django.contrib.auth.context_processors.auth", - "django.core.context_processors.debug", - "django.core.context_processors.i18n", - "django.core.context_processors.media", - "django.contrib.messages.context_processors.messages", - "django.core.context_processors.request", - "orchestra.core.context_processors.site", -) - - WSGI_APPLICATION = '{{ project_name }}.wsgi.application' diff --git a/orchestra/templates/admin/orchestra/menu.html b/orchestra/templates/admin/orchestra/menu.html index d6c1ad59..7a6ca971 100644 --- a/orchestra/templates/admin/orchestra/menu.html +++ b/orchestra/templates/admin/orchestra/menu.html @@ -46,7 +46,7 @@ {% endif %}