From 46634b1e1cdf6be075d04f8b2865fe1414b8e175 Mon Sep 17 00:00:00 2001 From: juhnsa Date: Wed, 12 Mar 2025 19:16:08 +0100 Subject: [PATCH] Initiale Play App erstellen und integrieren --- core/core/settings.py | 1 + core/play/__init__.py | 0 core/play/admin.py | 3 +++ core/play/apps.py | 6 ++++++ core/play/migrations/__init__.py | 0 core/play/models.py | 3 +++ core/play/tests.py | 3 +++ core/play/views.py | 3 +++ 8 files changed, 19 insertions(+) create mode 100644 core/play/__init__.py create mode 100644 core/play/admin.py create mode 100644 core/play/apps.py create mode 100644 core/play/migrations/__init__.py create mode 100644 core/play/models.py create mode 100644 core/play/tests.py create mode 100644 core/play/views.py diff --git a/core/core/settings.py b/core/core/settings.py index 2abadc4..ae0192c 100644 --- a/core/core/settings.py +++ b/core/core/settings.py @@ -35,6 +35,7 @@ INSTALLED_APPS = [ 'homepage.apps.HomepageConfig', 'components.apps.ComponentsConfig', 'accounts.apps.AccountsConfig', + 'play.apps.PlayConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', diff --git a/core/play/__init__.py b/core/play/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/play/admin.py b/core/play/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/core/play/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/core/play/apps.py b/core/play/apps.py new file mode 100644 index 0000000..9e9b72f --- /dev/null +++ b/core/play/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class PlayConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'play' diff --git a/core/play/migrations/__init__.py b/core/play/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/play/models.py b/core/play/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/core/play/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/core/play/tests.py b/core/play/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/core/play/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/core/play/views.py b/core/play/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/core/play/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.