From 475f686dfe8981cb5250c286891f742713e6ebc7 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 14 Apr 2021 23:37:44 +0000 Subject: [PATCH] Set up api app --- server/server/api/apps.py | 2 +- server/server/api/migrations/__init__.py | 0 server/server/settings.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 server/server/api/migrations/__init__.py diff --git a/server/server/api/apps.py b/server/server/api/apps.py index d87006d..0800f25 100644 --- a/server/server/api/apps.py +++ b/server/server/api/apps.py @@ -2,4 +2,4 @@ from django.apps import AppConfig class ApiConfig(AppConfig): - name = 'api' + name = 'server.api' diff --git a/server/server/api/migrations/__init__.py b/server/server/api/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/server/server/settings.py b/server/server/settings.py index 25ab9d9..f9e9d00 100644 --- a/server/server/settings.py +++ b/server/server/settings.py @@ -44,6 +44,7 @@ INSTALLED_APPS = [ 'allauth.account', 'dj_rest_auth', 'dj_rest_auth.registration', + 'server.api', ] MIDDLEWARE = [