summaryrefslogtreecommitdiff
path: root/fossee_anime
diff options
context:
space:
mode:
authorAkshen2019-04-10 10:34:58 +0530
committerAkshen2019-04-10 10:36:31 +0530
commit126558d2dd503efdbdce7545dc4353388c1f405a (patch)
tree59ee8ba44cd6629edd75ae692a0e572c62d7de36 /fossee_anime
parente5a0299855a9367eb6e32abfd356ed53c3fb765b (diff)
downloadFOSSEE_animations-126558d2dd503efdbdce7545dc4353388c1f405a.tar.gz
FOSSEE_animations-126558d2dd503efdbdce7545dc4353388c1f405a.tar.bz2
FOSSEE_animations-126558d2dd503efdbdce7545dc4353388c1f405a.zip
Adds how_to_contribute page and videos on index page
Diffstat (limited to 'fossee_anime')
-rw-r--r--fossee_anime/settings.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/fossee_anime/settings.py b/fossee_anime/settings.py
index 53b200b..9b3d6ed 100644
--- a/fossee_anime/settings.py
+++ b/fossee_anime/settings.py
@@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/1.9/ref/settings/
import os
import sys
-from local_settings import (
+from .local_settings import (
EMAIL_HOST,
EMAIL_PORT,
EMAIL_HOST_USER,
@@ -77,6 +77,8 @@ TEMPLATES = [
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
+ 'django.template.context_processors.media',
+
],
},
},
@@ -140,11 +142,11 @@ LOGIN_URL = '/login/'
MEDIA_URL = '/data/'
-MEDIA_ROOT = os.path.join(BASE_DIR, "workshop_app", "data")
+MEDIA_ROOT = os.path.join(BASE_DIR, "fossee_manim", 'data')
-LOG_FOLDER = os.path.join(BASE_DIR, "workshop_app", "logs")
+LOG_FOLDER = os.path.join(BASE_DIR, "fossee_manim", "logs")
-#Email Connection Settings
+# Email Connection Settings
EMAIL_HOST = EMAIL_HOST
EMAIL_HOST_USER = EMAIL_HOST_USER
EMAIL_HOST_PASSWORD = EMAIL_HOST_PASSWORD
@@ -155,7 +157,7 @@ SENDER_EMAIL = SENDER_EMAIL
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
-#Change this to the production url
+# Change this to the production url
PRODUCTION_URL = 'your_production_url'
ADMIN_EMAIL = 'your admin email' \ No newline at end of file