Skip to content
Browse files

Pass all the checks and 404 and 500 templates

  • Loading branch information...
1 parent 057b60f commit d7e0caade9e19342619a9f73ffd3fd580ac844d7 @shabda shabda committed Oct 12, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 settings.py
View
5 settings.py
@@ -95,6 +95,7 @@
SECRET_KEY = '5k2hj2#70p0vxez)jcw@0e#wvt^=_6s9mt317y-n7!=gh=l$s&'
# List of callables that know how to import templates from various sources.
+
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
@@ -111,10 +112,14 @@
ROOT_URLCONF = 'ready.urls'
+import os
+SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
+
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.
+ os.path.join(SITE_ROOT, "templates")
)
INSTALLED_APPS = (

0 comments on commit d7e0caa

Please sign in to comment.
Something went wrong with that request. Please try again.