Changeset 6180
- Timestamp:
- Aug 12, 2008, 7:00:15 PM (16 years ago)
- Files:
-
- 1 deleted
- 3 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
README
r6178 r6180 22 22 23 23 To create the database: 24 $ cd $SVNROOT /django25 $ ./ manage.pysyncdb24 $ cd $SVNROOT 25 $ ./django-conf/manage.py --pythonpath=`pwd` syncdb 26 26 27 27 To run the developmentserver do 28 $ cd $SVNROOT /django29 $ ./ manage.pyrunserver <8000>28 $ cd $SVNROOT 29 $ ./django-conf/manage.py --pythonpath=`pwd` runserver <8000> 30 30 31 31 -
django-conf/settings.py.tmpl
r6178 r6180 1 # Django settings for django_exodus project. 1 # Django settings for exodus project. 2 3 #Set to 4 DJANGOROOT = '/Users/rick/svn/wleiden/code/exodus' 2 5 3 6 DEBUG = True … … 5 8 6 9 ADMINS = ( 7 (' Roland van Laar', 'roland@micite.net'),10 ('Administrator', 'admin@myinstall.net'), 8 11 ) 9 12 … … 11 14 12 15 DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 13 DATABASE_NAME = '/Users/roland/WL/exodus/exodus_svn/sqllite.db' # Or path to database file if using sqlite3.16 DATABASE_NAME = DJANGOROOT + '/sqllite.db' # Or path to database file if using sqlite3. 14 17 DATABASE_USER = 'roland' # Not used with sqlite3. 15 18 DATABASE_PASSWORD = '' # Not used with sqlite3. … … 30 33 # Absolute path to the directory that holds media. 31 34 # Example: "/home/media/media.lawrence.com/" 32 MEDIA_ROOT = '/Users/roland/WL/exodus/exodus_svn/django_media'35 MEDIA_ROOT = DJANGOROOT + '/media' 33 36 34 37 # URL that handles the media served from MEDIA_ROOT. … … 58 61 ) 59 62 60 ROOT_URLCONF = ' django_exodus.urls'63 ROOT_URLCONF = 'conf.urls' 61 64 62 65 TEMPLATE_DIRS = ( … … 64 67 # Always use forward slashes, even on Windows. 65 68 66 "/Users/roland/WL/exodus/exodus_svn/django_templates"69 DJANGOROOT + "/templates" 67 70 ) 68 71 … … 73 76 'django.contrib.sites', 74 77 'django.contrib.admin', 75 ' django_exodus.exodus_01',78 'exodus', 76 79 ) -
django-conf/urls.py
r6179 r6180 3 3 4 4 urlpatterns = patterns('', 5 (r'^exodus/', include(' conf.exodus.urls')),5 (r'^exodus/', include('exodus.urls')), 6 6 (r'^admin/', include('django.contrib.admin.urls')), 7 7
Note:
See TracChangeset
for help on using the changeset viewer.