add empty api app
authorJan Szejko <jan.szejko@gmail.com>
Fri, 20 May 2016 14:23:00 +0000 (16:23 +0200)
committerJan Szejko <jan.szejko@gmail.com>
Fri, 20 May 2016 14:23:00 +0000 (16:23 +0200)
api/__init__.py [new file with mode: 0644]
api/admin.py [new file with mode: 0644]
api/models.py [new file with mode: 0644]
api/tests.py [new file with mode: 0644]
api/views.py [new file with mode: 0644]
edumed/settings.d/30-apps.py

diff --git a/api/__init__.py b/api/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/api/admin.py b/api/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/api/models.py b/api/models.py
new file mode 100644 (file)
index 0000000..71a8362
--- /dev/null
@@ -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 (file)
index 0000000..7ce503c
--- /dev/null
@@ -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 (file)
index 0000000..91ea44a
--- /dev/null
@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.
index 9416e33..a5b9c97 100644 (file)
@@ -5,6 +5,7 @@ INSTALLED_APPS = (
     'comment',
     'wtem',
     'publishers',
+    'api'
 
     'fnpdjango',
     'south',