From ae931837ed29817922c735f713b61957765c2ba8 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 18 Apr 2012 12:26:29 +0200 Subject: [PATCH] add template context processors to example --- example/sandbox_sqlite/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example/sandbox_sqlite/settings.py b/example/sandbox_sqlite/settings.py index d7e1b862..2ff3f4d1 100644 --- a/example/sandbox_sqlite/settings.py +++ b/example/sandbox_sqlite/settings.py @@ -65,7 +65,7 @@ MEDIA_URL = '/media/' # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/home/media/media.lawrence.com/static/" -STATIC_ROOT = '/data/telemeta/static/' +STATIC_ROOT = '/home/dev/telemeta/static/' # URL prefix for static files. # Example: "http://media.lawrence.com/static/" @@ -132,6 +132,9 @@ INSTALLED_APPS = ( TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', 'django.contrib.auth.context_processors.auth', + "django.core.context_processors.i18n", + "django.core.context_processors.media", + 'django.core.context_processors.static', ) TELEMETA_ORGANIZATION = 'Parisson' -- 2.39.5