]> git.parisson.com Git - mezzo.git/commitdiff
Add cookie session management, add graphviz and django_extensions
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 1 Dec 2016 17:46:23 +0000 (18:46 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 1 Dec 2016 17:46:23 +0000 (18:46 +0100)
app/settings.py
doc/__init__.py [deleted file]
requirements.txt

index c40b08c07eb4d6e2f2605f0a03b50b73bb7e2a79..6286bc5faa29bf512c06b74134430dfbf781f656 100644 (file)
@@ -114,7 +114,8 @@ LANGUAGES = (
 LOCALE_PATHS = ['locale',]
 
 # Whether a user's session cookie expires when the Web browser is closed.
-SESSION_EXPIRE_AT_BROWSER_CLOSE = True
+SESSION_EXPIRE_AT_BROWSER_CLOSE = False
+SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"
 
 SITE_ID = 1
 
@@ -205,6 +206,7 @@ INSTALLED_APPS = [
     "django.contrib.sessions",
     "django.contrib.sites",
     "django.contrib.staticfiles",
+    'django_extensions',
     "mezzanine.boot",
     "mezzanine.conf",
     "django.contrib.sitemaps",
@@ -323,6 +325,11 @@ STATICFILES_FINDERS = (
     'djangobower.finders.BowerFinder',
 )
 
+GRAPH_MODELS = {
+  'all_applications': True,
+  'group_models': True,
+}
+
 #########################
 # OPTIONAL APPLICATIONS #
 #########################
diff --git a/doc/__init__.py b/doc/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
index 12f7c78ff6be1318c472adaf583d7005d63ce2a2..cc45d3fd52b59288d8a62282af2486aad434fea1 100644 (file)
@@ -19,3 +19,5 @@ cartridge==0.12.0
 xlrd==1.0.0
 ipython
 gitpython
+pygraphviz
+sphinx