-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.
- "/home/brettp/dev/sommitrealweird/templates",
-)
+TEMPLATES = [
+ {
+ 'BACKEND': 'django.template.backends.django.DjangoTemplates',
+ 'DIRS': [os.path.join(topdir, 'templates'),],
+ 'APP_DIRS': True,
+ 'OPTIONS': {
+ 'context_processors': [
+ 'django.template.context_processors.request',
+ 'django.contrib.auth.context_processors.auth',
+ 'django.contrib.messages.context_processors.messages',
+ 'django.template.context_processors.debug',
+ 'django.template.context_processors.i18n',
+ 'django.template.context_processors.media',
+ 'bpcms.context_processors.content_menu',
+ 'bpcms.context_processors.content_submenu',
+ 'bpcms.context_processors.content_breadcrumb',
+ 'blog.context_processors.content_breadcrumb',
+ 'blog.context_processors.blog_feed',
+ 'photo.context_processors.content_breadcrumb',
+ ],
+ 'debug': True,
+ },
+ },
+]