From: yomguy Date: Wed, 18 Apr 2012 10:26:29 +0000 (+0200) Subject: add template context processors to example X-Git-Tag: 1.4.3-2~16 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ae931837ed29817922c735f713b61957765c2ba8;p=telemeta.git add template context processors to example --- 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'