From: Guillaume Pellerin Date: Tue, 21 Jun 2016 08:25:09 +0000 (+0200) Subject: add institute module X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b61d65c7b6261d48b5a215797aa397176586d759;p=mezzo.git add institute module --- diff --git a/app/institute/__init__.py b/app/institute/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app/institute/admin.py b/app/institute/admin.py new file mode 100644 index 00000000..8c38f3f3 --- /dev/null +++ b/app/institute/admin.py @@ -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 index 00000000..e81c8dfc --- /dev/null +++ b/app/institute/apps.py @@ -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 index 00000000..e69de29b diff --git a/app/institute/models.py b/app/institute/models.py new file mode 100644 index 00000000..bd4b2abe --- /dev/null +++ b/app/institute/models.py @@ -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 index 00000000..7ce503c2 --- /dev/null +++ b/app/institute/tests.py @@ -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 index 00000000..91ea44a2 --- /dev/null +++ b/app/institute/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/app/settings.py b/app/settings.py index cf39c4a5..3cc9822b 100644 --- a/app/settings.py +++ b/app/settings.py @@ -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