Show
Ignore:
Timestamp:
06/25/09 14:55:31 (9 months ago)
Author:
JensDiemer
Message:

starting to add a pylucid admin menu...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.9/pylucid_project/settings.py

    r2043 r2070  
    7070    SITE_ID = 1 
    7171 
    72 print "Used port is %s -> set SITE_ID: %s" % (_used_port, SITE_ID)     
     72print "Used port is %s -> set SITE_ID: %s" % (_used_port, SITE_ID) 
    7373 
    7474 
     
    7979    # From http://code.google.com/p/django-tools/ 
    8080    'django_tools.middlewares.ThreadLocal.ThreadLocalMiddleware', 
    81      
     81 
    8282    'django.contrib.sessions.middleware.SessionMiddleware', 
    8383    'django.middleware.locale.LocaleMiddleware', 
    8484    'django.middleware.common.CommonMiddleware', 
    8585    'django.contrib.auth.middleware.AuthenticationMiddleware', 
    86      
     86 
    8787    'pylucid_project.middlewares.PageMessages.PageMessagesMiddleware', 
    88      
     88 
    8989    # slow down the django developer server 
    9090    # From http://code.google.com/p/django-tools/ 
     
    9696 
    9797_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" 
    100100) 
    101101 
    102102TEMPLATE_DIRS = ( 
    103103    os.path.join(_BASE_PATH, "apps/pylucid/templates/"), 
     104    os.path.join(_BASE_PATH, "apps/pylucid_admin/templates/"), 
    104105    os.path.join(_BASE_PATH, "apps/pylucid_update/templates/"), 
    105      
     106 
    106107    os.path.join(_BASE_PATH, "apps/dbpreferences/templates/"), 
    107108 
     
    140141#    from django_tools.template import warn_invalid_template_vars 
    141142#    warn_invalid_template_vars.add_warning() 
    142      
     143 
    143144 
    144145 
     
    165166#http://docs.djangoproject.com/en/dev/ref/settings/#setting-TEST_RUNNER 
    166167#Default: 'django.test.simple.run_tests' 
    167 TEST_RUNNER='pylucid_project.tests.test_tools.test_runner.run_tests' 
     168TEST_RUNNER = 'pylucid_project.tests.test_tools.test_runner.run_tests' 
    168169 
    169170#_____________________________________________________________________________ 
     
    220221# TODO: must be used ;) 
    221222SLUG_BLACKLIST = ( 
    222     MEDIA_URL.strip("/").split("/",1)[0], 
     223    MEDIA_URL.strip("/").split("/", 1)[0], 
    223224    ADMIN_URL_PREFIX, PYLUCID.HEAD_FILES_URL_PREFIX, 
    224225)