Skip to content

Commit 5c538f4

Browse files
author
Julia Elman
committed
Merge branch 'master' of github.com:pythonkc/pythonkc.com
2 parents 5dc3d9d + 2e1891a commit 5c538f4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.gondor
22
*.pyc
3+
pythonkc_site/pythonkc.sqlite

pythonkc_site/settings.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
DATABASES = {
1515
'default': {
16-
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
17-
'NAME': '', # Or path to database file if using sqlite3.
16+
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
17+
'NAME': os.path.join(os.path.abspath(os.path.dirname(__file__)), 'pythonkc.sqlite'), # Or path to database file if using sqlite3.
1818
'USER': '', # Not used with sqlite3.
1919
'PASSWORD': '', # Not used with sqlite3.
2020
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
@@ -119,9 +119,10 @@
119119
'django.contrib.messages',
120120
'django.contrib.staticfiles',
121121
# Uncomment the next line to enable the admin:
122-
# 'django.contrib.admin',
122+
'django.contrib.admin',
123123
# Uncomment the next line to enable admin documentation:
124-
# 'django.contrib.admindocs',
124+
'django.contrib.admindocs',
125+
'south',
125126
)
126127

127128
# A sample logging configuration. The only tangible logging

0 commit comments

Comments
 (0)