Changeset 9009 for src/django_tutorial
- Timestamp:
- Apr 1, 2011, 4:42:50 PM (14 years ago)
- Location:
- src/django_tutorial
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_tutorial/settings.py
r9007 r9009 12 12 DATABASES = { 13 13 'default': { 14 'ENGINE': 'django.db.backends. ', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.15 'NAME': ' ', # Or path to database file if using sqlite3.16 'USER': ' ', # Not used with sqlite3.17 'PASSWORD': ' ', # Not used with sqlite3.18 'HOST': ' ', # Set to empty string for localhost. Not used with sqlite3.19 'PORT': ' ', # Set to empty string for default. Not used with sqlite3.14 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 15 'NAME': 'project_heatmap', # Or path to database file if using sqlite3. 16 'USER': 'root', # Not used with sqlite3. 17 'PASSWORD': 'password', # Not used with sqlite3. 18 'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3. 19 'PORT': '3306', # Set to empty string for default. Not used with sqlite3. 20 20 } 21 21 } … … 107 107 # Always use forward slashes, even on Windows. 108 108 # Don't forget to use absolute paths, not relative paths. 109 '/home/dennis/django_templates' 109 110 ) 110 111 … … 116 117 'django.contrib.messages', 117 118 'django.contrib.staticfiles', 119 'polls', 120 'django.contrib.admin', 118 121 # Uncomment the next line to enable the admin: 119 122 # 'django.contrib.admin', -
src/django_tutorial/urls.py
r9007 r9009 2 2 3 3 # Uncomment the next two lines to enable the admin: 4 #from django.contrib import admin5 #admin.autodiscover()4 from django.contrib import admin 5 admin.autodiscover() 6 6 7 7 urlpatterns = patterns('', … … 14 14 15 15 # Uncomment the next line to enable the admin: 16 #url(r'^admin/', include(admin.site.urls)),16 url(r'^admin/', include(admin.site.urls)), 17 17 )
Note:
See TracChangeset
for help on using the changeset viewer.