From 9ae83685ae10ad4d0e6f6091413b1d2488eaf478 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Fri, 20 May 2016 16:23:00 +0200 Subject: [PATCH 1/1] add empty api app --- api/__init__.py | 0 api/admin.py | 3 +++ api/models.py | 3 +++ api/tests.py | 3 +++ api/views.py | 3 +++ edumed/settings.d/30-apps.py | 1 + 6 files changed, 13 insertions(+) create mode 100644 api/__init__.py create mode 100644 api/admin.py create mode 100644 api/models.py create mode 100644 api/tests.py create mode 100644 api/views.py 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', -- 2.20.1