From 073ce8f009d40942ef91e59fca6d5096e1cbdf8b Mon Sep 17 00:00:00 2001
From: Tanner Prestegard <tanner.prestegard@ligo.org>
Date: Fri, 13 Jul 2018 12:00:28 -0500
Subject: [PATCH] Adding new 'api' app with versions

---
 config/settings/base.py                | 7 ++++---
 gracedb/api/__init__.py                | 0
 gracedb/api/v1/__init__.py             | 0
 gracedb/api/v1/events/__init__.py      | 0
 gracedb/api/v1/superevents/__init__.py | 0
 gracedb/api/v2/__init__.py             | 0
 gracedb/api/v2/events/__init__.py      | 0
 gracedb/api/v2/superevents/__init__.py | 0
 8 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 gracedb/api/__init__.py
 create mode 100644 gracedb/api/v1/__init__.py
 create mode 100644 gracedb/api/v1/events/__init__.py
 create mode 100644 gracedb/api/v1/superevents/__init__.py
 create mode 100644 gracedb/api/v2/__init__.py
 create mode 100644 gracedb/api/v2/events/__init__.py
 create mode 100644 gracedb/api/v2/superevents/__init__.py

diff --git a/config/settings/base.py b/config/settings/base.py
index a29a55a58..55d2b3e61 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -300,12 +300,13 @@ INSTALLED_APPS = [
     'django.contrib.staticfiles',
     'django.contrib.messages',
     'maintenance_mode',
+    'alerts',
+    'api'
     'events',
-    'superevents',
-    'userprofile',
     'ligoauth',
     'search',
-    'alerts',
+    'superevents',
+    'userprofile',
     'rest_framework',
     'guardian',
     'django_twilio',
diff --git a/gracedb/api/__init__.py b/gracedb/api/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/gracedb/api/v1/__init__.py b/gracedb/api/v1/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/gracedb/api/v1/events/__init__.py b/gracedb/api/v1/events/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/gracedb/api/v1/superevents/__init__.py b/gracedb/api/v1/superevents/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/gracedb/api/v2/__init__.py b/gracedb/api/v2/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/gracedb/api/v2/events/__init__.py b/gracedb/api/v2/events/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/gracedb/api/v2/superevents/__init__.py b/gracedb/api/v2/superevents/__init__.py
new file mode 100644
index 000000000..e69de29bb
-- 
GitLab