From: Jan Szejko Date: Fri, 20 May 2016 14:23:00 +0000 (+0200) Subject: add empty api app X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/9ae83685ae10ad4d0e6f6091413b1d2488eaf478?ds=inline;hp=196e0116ea78f78b2eeab0e76b8a4d79d5ded9aa add empty api app --- diff --git a/api/__init__.py b/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/api/admin.py b/api/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/api/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/api/models.py b/api/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/api/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/api/tests.py b/api/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/api/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/api/views.py b/api/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/api/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/edumed/settings.d/30-apps.py b/edumed/settings.d/30-apps.py index 9416e33..a5b9c97 100644 --- a/edumed/settings.d/30-apps.py +++ b/edumed/settings.d/30-apps.py @@ -5,6 +5,7 @@ INSTALLED_APPS = ( 'comment', 'wtem', 'publishers', + 'api' 'fnpdjango', 'south',