From 566b221536ee349d702d49721f4d14b3a19dd7a4 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Mon, 8 Jul 2019 14:30:58 +0200 Subject: [PATCH] start note app --- note/__init__.py | 0 note/admin.py | 3 +++ note/apps.py | 5 +++++ note/migrations/__init__.py | 0 note/models.py | 3 +++ note/tests.py | 3 +++ note/views.py | 3 +++ note_kfet/settings.py | 1 + 8 files changed, 18 insertions(+) create mode 100644 note/__init__.py create mode 100644 note/admin.py create mode 100644 note/apps.py create mode 100644 note/migrations/__init__.py create mode 100644 note/models.py create mode 100644 note/tests.py create mode 100644 note/views.py diff --git a/note/__init__.py b/note/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/note/admin.py b/note/admin.py new file mode 100644 index 00000000..8c38f3f3 --- /dev/null +++ b/note/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/note/apps.py b/note/apps.py new file mode 100644 index 00000000..eab40c5e --- /dev/null +++ b/note/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class NoteConfig(AppConfig): + name = 'note' diff --git a/note/migrations/__init__.py b/note/migrations/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/note/models.py b/note/models.py new file mode 100644 index 00000000..71a83623 --- /dev/null +++ b/note/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/note/tests.py b/note/tests.py new file mode 100644 index 00000000..7ce503c2 --- /dev/null +++ b/note/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/note/views.py b/note/views.py new file mode 100644 index 00000000..91ea44a2 --- /dev/null +++ b/note/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/note_kfet/settings.py b/note_kfet/settings.py index b0fe2eb8..f3d13ccf 100644 --- a/note_kfet/settings.py +++ b/note_kfet/settings.py @@ -47,6 +47,7 @@ INSTALLED_APPS = [ # Note apps 'adherents', + 'note', ] MIDDLEWARE = [