Clean up auto-generated files

This commit is contained in:
Luca 2023-12-20 15:46:01 +01:00
parent 12237d736e
commit 2efbf7c49b
7 changed files with 4 additions and 26 deletions

View File

@ -1,3 +0,0 @@
from django.contrib import admin
# Register your models here.

View File

@ -1,6 +0,0 @@
from django.apps import AppConfig
class CoreConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "ljg.core"

View File

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View File

@ -1,3 +0,0 @@
from django.contrib import admin
# Register your models here.

View File

@ -1,6 +0,0 @@
from django.apps import AppConfig
class RedirectConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "ljg.redirect"

View File

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View File

@ -43,9 +43,9 @@ INSTALLED_APPS = [
"django.contrib.sessions", "django.contrib.sessions",
"django.contrib.messages", "django.contrib.messages",
"django.contrib.staticfiles", "django.contrib.staticfiles",
"ljg.core.apps.CoreConfig",
"ljg.redirect.apps.RedirectConfig",
"mozilla_django_oidc", "mozilla_django_oidc",
"ljg.core",
"ljg.redirect",
] ]
MIDDLEWARE = [ MIDDLEWARE = [
@ -127,11 +127,13 @@ USE_TZ = True
STATIC_ROOT = BASE_DIR / "static" STATIC_ROOT = BASE_DIR / "static"
STATIC_URL = "static/" STATIC_URL = "static/"
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
APP_TITLE = env.str("APP_TITLE", "ljg.sh") APP_TITLE = env.str("APP_TITLE", "ljg.sh")
AUTHENTICATION_BACKENDS = ( AUTHENTICATION_BACKENDS = (