Show
Ignore:
Timestamp:
12/04/07 08:06:16 (12 months ago)
Author:
JensDiemer
Message:

New settings ('SERVE_STATIC_FILES' and 'REDIRECT_OLD_PYLUCID_URL') for set up the urls.py

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/settings_example.py

    r1300 r1320  
    154154# STATIC FILES 
    155155# http://www.djangoproject.com/documentation/static_files/ 
    156 # 
     156 
     157# Serve static files for the development server? 
     158# Using this method is inefficient and insecure. 
     159# Do not use this in a production setting. Use this only for development. 
     160SERVE_STATIC_FILES = False 
     161 
    157162# Note: Every URL/path... 
    158163# ...must be a absolute path. 
     
    370375# Should be only enabled for tests. It is a big security hole! 
    371376INSTALL_EVILEVAL = False 
     377 
     378# Permit sending mails with the EMailSystem Plugin: 
     379ALLOW_SEND_MAILS = True 
     380 
     381# Every Plugin output gets a html SPAN tag around. 
     382# Here you can defined witch CSS class name the tag should used: 
     383CSS_PLUGIN_CLASS_NAME = "PyLucidPlugins" 
     384 
     385 
    372386 
    373387# The table prefix from a old PyLucid installation, if exist. 
     
    386400# Use "low level admin/User administration" to set a new password for the user. 
    387401 
    388 # Permit sending mails with the EMailSystem Plugin: 
    389 ALLOW_SEND_MAILS = True 
    390  
    391 # Every Plugin output gets a html SPAN tag around. 
    392 # Here you can defined witch CSS class name the tag should used: 
    393 CSS_PLUGIN_CLASS_NAME = "PyLucidPlugins" 
     402# If you used a old PyLucid installation then you can recirect the old 
     403# urls with "indey.py" to the new URLs without the "index.py" part. 
     404# Default: False 
     405REDIRECT_OLD_PYLUCID_URL = False