aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-08-13 23:34:25 +0200
committerGravatar Johannes Christ <[email protected]>2018-08-13 23:34:25 +0200
commitd402fc91083313f14e5a638646c7c72e59c8ae70 (patch)
treeca41d5567e337dacf6e22c16620014750372b4a2 /api
parentAdd a basic index page template. (diff)
Add stub applications `api` and `wiki`.
Diffstat (limited to 'api')
-rw-r--r--api/__init__.py0
-rw-r--r--api/admin.py3
-rw-r--r--api/apps.py5
-rw-r--r--api/migrations/__init__.py0
-rw-r--r--api/models.py3
-rw-r--r--api/tests.py3
-rw-r--r--api/views.py3
7 files changed, 17 insertions, 0 deletions
diff --git a/api/__init__.py b/api/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/api/__init__.py
diff --git a/api/admin.py b/api/admin.py
new file mode 100644
index 00000000..8c38f3f3
--- /dev/null
+++ b/api/admin.py
@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
diff --git a/api/apps.py b/api/apps.py
new file mode 100644
index 00000000..d87006dd
--- /dev/null
+++ b/api/apps.py
@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class ApiConfig(AppConfig):
+ name = 'api'
diff --git a/api/migrations/__init__.py b/api/migrations/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/api/migrations/__init__.py
diff --git a/api/models.py b/api/models.py
new file mode 100644
index 00000000..71a83623
--- /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 00000000..7ce503c2
--- /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 00000000..91ea44a2
--- /dev/null
+++ b/api/views.py
@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.