diff options
author | hardythe1 | 2015-07-08 16:02:36 +0530 |
---|---|---|
committer | hardythe1 | 2015-07-08 16:02:36 +0530 |
commit | aee5c89e3d24ff42badf6a5b3e4d3ccb08052d90 (patch) | |
tree | 13da5362264dedf6f7b803de6e882c86f8b161d6 /scipy2015/settings.py | |
parent | c2ffb631548bdfd66a4d0bdab120fc2f65e9c836 (diff) | |
download | SciPy2015-aee5c89e3d24ff42badf6a5b3e4d3ccb08052d90.tar.gz SciPy2015-aee5c89e3d24ff42badf6a5b3e4d3ccb08052d90.tar.bz2 SciPy2015-aee5c89e3d24ff42badf6a5b3e4d3ccb08052d90.zip |
scipy2015/urls.py
add 2015 as default to all urls
Diffstat (limited to 'scipy2015/settings.py')
-rw-r--r-- | scipy2015/settings.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/scipy2015/settings.py b/scipy2015/settings.py index 3bd5ed1..3ad1f05 100644 --- a/scipy2015/settings.py +++ b/scipy2015/settings.py @@ -90,14 +90,22 @@ WSGI_APPLICATION = 'scipy2015.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': 'scipy2015', # Or path to database file if using sqlite3. + # The following settings are not used with sqlite3: + 'USER': DATABASE_USER, + 'PASSWORD': DATABASE_PASSWORD, + 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. + 'PORT': '', } } SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = LOCAL_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = LOCAL_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET +SOCIAL_AUTH_FACEBOOK_KEY = LOCAL_SOCIAL_AUTH_FB_KEY +SOCIAL_AUTH_FACEBOOK_SECRET = LOCAL_SOCIAL_AUTH_FB_SECRET + # Internationalization # https://docs.djangoproject.com/en/1.6/topics/i18n/ @@ -116,3 +124,5 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.6/howto/static-files/ STATIC_URL = '/static/' + +MEDIA_ROOT = os.path.join(BASE_DIR, '../website/static/uploads') |