updated sample config file to better match current project
This commit is contained in:
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'webapp',
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
@@ -76,12 +77,15 @@ WSGI_APPLICATION = 'sikweb.wsgi.application'
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'INSERT YOUR DB NAME HERE',
|
||||
'USER': 'INSERT YOUR DB USER HERE',
|
||||
'PASSWORD': 'INSERT YOUR DB PASSWD HERE',
|
||||
'HOST': '127.0.0.1',
|
||||
'PORT': '3306',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
|
||||
|
||||
@@ -117,5 +121,5 @@ USE_TZ = True
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/1.9/howto/static-files/
|
||||
|
||||
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.AppDirectoriesFinder']
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
Reference in New Issue
Block a user