From fe3c3cea163c9450fd4464f23832ba0df5f66dd5 Mon Sep 17 00:00:00 2001 From: Michael Bergbauer Date: Sat, 14 Jun 2025 15:48:23 +0200 Subject: [PATCH] Adding common application --- FloriCore/settings.py | 1 + common/__init__.py | 0 common/admin.py | 3 +++ common/apps.py | 6 ++++++ common/migrations/__init__.py | 0 common/models.py | 3 +++ common/tests.py | 3 +++ common/views.py | 3 +++ 8 files changed, 19 insertions(+) create mode 100644 common/__init__.py create mode 100644 common/admin.py create mode 100644 common/apps.py create mode 100644 common/migrations/__init__.py create mode 100644 common/models.py create mode 100644 common/tests.py create mode 100644 common/views.py diff --git a/FloriCore/settings.py b/FloriCore/settings.py index a516765..0e39f68 100644 --- a/FloriCore/settings.py +++ b/FloriCore/settings.py @@ -39,6 +39,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'common', 'member', ] diff --git a/common/__init__.py b/common/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/common/admin.py b/common/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/common/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/common/apps.py b/common/apps.py new file mode 100644 index 0000000..01cca2f --- /dev/null +++ b/common/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class CommonConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'common' diff --git a/common/migrations/__init__.py b/common/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/common/models.py b/common/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/common/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/common/tests.py b/common/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/common/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/common/views.py b/common/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/common/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.