summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-20 17:49:35 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-20 17:49:35 +0100
commit0527e33e8733d5fe92a2f732f9529269cc5aba9a (patch)
treeb6ee2d0e12d79dfbe151c01e6282a9c8d8063fe6 /settings.py
parent954ce5dc30faf9bebfd060689d4fd8f8c147ce7f (diff)
downloadChimère-0527e33e8733d5fe92a2f732f9529269cc5aba9a.tar.bz2
Chimère-0527e33e8733d5fe92a2f732f9529269cc5aba9a.zip
OpenGraph: no empty description - image width and image height
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 0ab3a23..ec67e5a 100644
--- a/settings.py
+++ b/settings.py
@@ -13,12 +13,15 @@ MOBILE_TEST = False
DEBUG_TOOLBAR = False
SQL_DEBUG = False
+ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/"
# Django settings for chimere project.
PROJECT_NAME = 'Chimere'
# url of the project image
PROJECT_IMAGE = ''
-ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/"
+# mandatory if you put an image
+PROJECT_IMAGE_WIDTH = 0
+PROJECT_IMAGE_HEIGHT = 0
EMAIL_HOST = 'localhost'
CONTACT_EMAIL = ''