Changeset 6351 for trunk


Ignore:
Timestamp:
Oct 28, 2008, 11:44:51 PM (16 years ago)
Author:
RIck van der Zwet
Message:
  • Hardcoding path to all calling via mod_python
  • Sample working apache configuration
Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/settings.py

    r6340 r6351  
    1212MANAGERS = ADMINS
    1313
     14# Master super path, set to current working path
     15EXODUS_ROOT = '/srv/wleiden/exodus/trunk'
     16
     17# Whether to find static files which are going to be served by django if running static mode
     18EXODUS_STATIC_ROOT = EXODUS_ROOT + '/exodus/static'
     19
    1420DATABASE_ENGINE = 'sqlite3'           # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
    15 DATABASE_NAME = 'exodus.db' # Or path to database file if using sqlite3.
     21DATABASE_NAME = EXODUS_ROOT + '/exodus.db' # Or path to database file if using sqlite3.
    1622DATABASE_USER = ''             # Not used with sqlite3.
    1723DATABASE_PASSWORD = ''         # Not used with sqlite3.
  • trunk/exodus/urls.py

    r6347 r6351  
    3838        urlpatterns += patterns('',
    3939        url(r'^static/(?P<path>.*)$$', 'django.views.static.serve', {'document_root':
    40          'exodus/static'}, "static"),
     40         settings.EXODUS_STATIC_ROOT }, "static"),
    4141        )
Note: See TracChangeset for help on using the changeset viewer.