From 77c126ea2f7be6f0230a5ce2fe040659893e8f92 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Fri, 3 Nov 2023 17:35:20 +0100 Subject: [PATCH] [ADD] Alliance Auth Framework base app --- allianceauth/framework/__init__.py | 3 +++ allianceauth/framework/apps.py | 14 ++++++++++++++ .../project_template/project_name/settings/base.py | 1 + 3 files changed, 18 insertions(+) create mode 100644 allianceauth/framework/__init__.py create mode 100644 allianceauth/framework/apps.py diff --git a/allianceauth/framework/__init__.py b/allianceauth/framework/__init__.py new file mode 100644 index 00000000..95461f25 --- /dev/null +++ b/allianceauth/framework/__init__.py @@ -0,0 +1,3 @@ +""" +Alliance Auth Framework +""" diff --git a/allianceauth/framework/apps.py b/allianceauth/framework/apps.py new file mode 100644 index 00000000..77264525 --- /dev/null +++ b/allianceauth/framework/apps.py @@ -0,0 +1,14 @@ +""" +Framework App Config +""" + +from django.apps import AppConfig + + +class FrameworkConfig(AppConfig): + """ + Framework App Config + """ + + name = "allianceauth.framework" + label = "framework" diff --git a/allianceauth/project_template/project_name/settings/base.py b/allianceauth/project_template/project_name/settings/base.py index cb9ff5ae..60abf2e5 100644 --- a/allianceauth/project_template/project_name/settings/base.py +++ b/allianceauth/project_template/project_name/settings/base.py @@ -25,6 +25,7 @@ INSTALLED_APPS = [ 'django_bootstrap5', # https://github.com/zostera/django-bootstrap5 'sortedm2m', 'esi', + 'allianceauth.framework', 'allianceauth.authentication', 'allianceauth.services', 'allianceauth.eveonline',