]> git.parisson.com Git - mezzo.git/commitdiff
add institute module
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 21 Jun 2016 08:25:09 +0000 (10:25 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 21 Jun 2016 08:25:09 +0000 (10:25 +0200)
app/institute/__init__.py [new file with mode: 0644]
app/institute/admin.py [new file with mode: 0644]
app/institute/apps.py [new file with mode: 0644]
app/institute/migrations/__init__.py [new file with mode: 0644]
app/institute/models.py [new file with mode: 0644]
app/institute/tests.py [new file with mode: 0644]
app/institute/views.py [new file with mode: 0644]
app/settings.py

diff --git a/app/institute/__init__.py b/app/institute/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/app/institute/admin.py b/app/institute/admin.py
new file mode 100644 (file)
index 0000000..8c38f3f
--- /dev/null
@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
diff --git a/app/institute/apps.py b/app/institute/apps.py
new file mode 100644 (file)
index 0000000..e81c8df
--- /dev/null
@@ -0,0 +1,7 @@
+from __future__ import unicode_literals
+
+from django.apps import AppConfig
+
+
+class InstituteConfig(AppConfig):
+    name = 'institute'
diff --git a/app/institute/migrations/__init__.py b/app/institute/migrations/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/app/institute/models.py b/app/institute/models.py
new file mode 100644 (file)
index 0000000..bd4b2ab
--- /dev/null
@@ -0,0 +1,5 @@
+from __future__ import unicode_literals
+
+from django.db import models
+
+# Create your models here.
diff --git a/app/institute/tests.py b/app/institute/tests.py
new file mode 100644 (file)
index 0000000..7ce503c
--- /dev/null
@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.
diff --git a/app/institute/views.py b/app/institute/views.py
new file mode 100644 (file)
index 0000000..91ea44a
--- /dev/null
@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.
index cf39c4a55c3c5aa833acfd2b8eda12a1f032bc4e..3cc9822b4cee8fa7cef7ef52bd2fb1821eff2a14 100644 (file)
@@ -216,9 +216,10 @@ INSTALLED_APPS = [
     "mezzanine.accounts",
     # "mezzanine.mobile",
     # "eve",
-    "festival",
     "meta",
-    'mezzanine_agenda',
+    "mezzanine_agenda",
+    "festival",
+    "institute",
 ]
 
 # Add Migration Module path see : https://github.com/stephenmcd/mezzanine/blob/master/docs/model-customization.rst#field-injection-caveats