Changeset 2070 for branches/0.9/pylucid_project/settings.py
- Timestamp:
- 06/25/09 14:55:31 (9 months ago)
- Files:
-
- 1 modified
-
branches/0.9/pylucid_project/settings.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/pylucid_project/settings.py
r2043 r2070 70 70 SITE_ID = 1 71 71 72 print "Used port is %s -> set SITE_ID: %s" % (_used_port, SITE_ID) 72 print "Used port is %s -> set SITE_ID: %s" % (_used_port, SITE_ID) 73 73 74 74 … … 79 79 # From http://code.google.com/p/django-tools/ 80 80 'django_tools.middlewares.ThreadLocal.ThreadLocalMiddleware', 81 81 82 82 'django.contrib.sessions.middleware.SessionMiddleware', 83 83 'django.middleware.locale.LocaleMiddleware', 84 84 'django.middleware.common.CommonMiddleware', 85 85 'django.contrib.auth.middleware.AuthenticationMiddleware', 86 86 87 87 'pylucid_project.middlewares.PageMessages.PageMessagesMiddleware', 88 88 89 89 # slow down the django developer server 90 90 # From http://code.google.com/p/django-tools/ … … 96 96 97 97 _plugins = pylucid_plugins.PluginList( 98 fs_path =os.path.join(_BASE_PATH, "pylucid_plugins"),99 pkg_prefix ="pylucid_project.pylucid_plugins"98 fs_path=os.path.join(_BASE_PATH, "pylucid_plugins"), 99 pkg_prefix="pylucid_project.pylucid_plugins" 100 100 ) 101 101 102 102 TEMPLATE_DIRS = ( 103 103 os.path.join(_BASE_PATH, "apps/pylucid/templates/"), 104 os.path.join(_BASE_PATH, "apps/pylucid_admin/templates/"), 104 105 os.path.join(_BASE_PATH, "apps/pylucid_update/templates/"), 105 106 106 107 os.path.join(_BASE_PATH, "apps/dbpreferences/templates/"), 107 108 … … 140 141 # from django_tools.template import warn_invalid_template_vars 141 142 # warn_invalid_template_vars.add_warning() 142 143 143 144 144 145 … … 165 166 #http://docs.djangoproject.com/en/dev/ref/settings/#setting-TEST_RUNNER 166 167 #Default: 'django.test.simple.run_tests' 167 TEST_RUNNER ='pylucid_project.tests.test_tools.test_runner.run_tests'168 TEST_RUNNER = 'pylucid_project.tests.test_tools.test_runner.run_tests' 168 169 169 170 #_____________________________________________________________________________ … … 220 221 # TODO: must be used ;) 221 222 SLUG_BLACKLIST = ( 222 MEDIA_URL.strip("/").split("/", 1)[0],223 MEDIA_URL.strip("/").split("/", 1)[0], 223 224 ADMIN_URL_PREFIX, PYLUCID.HEAD_FILES_URL_PREFIX, 224 225 )