pydev-s6
authorMichael Wagner <michael@wagnertech.de>
Sat, 9 Nov 2024 22:03:35 +0000 (23:03 +0100)
committerMichael Wagner <michael@wagnertech.de>
Sat, 9 Nov 2024 22:03:35 +0000 (23:03 +0100)
python/eh_util/ausweis/admin.py
python/eh_util/ausweis/migrations/0001_initial.py [deleted file]
python/eh_util/ausweis/models.py
python/eh_util/eh_app/.dummy [new file with mode: 0644]
python/eh_util/eh_util/settings.py
python/eh_util/eh_util/urls.py

index d654f08..6c6f054 100644 (file)
@@ -2,8 +2,8 @@ from django.contrib import admin
 
 # Register your models here.
 
-from django.contrib import admin
+#from django.contrib import admin
 
-from .models import ConfigData
+#from .models import ConfigData
 
-admin.site.register(ConfigData)
+#admin.site.register(ConfigData)
diff --git a/python/eh_util/ausweis/migrations/0001_initial.py b/python/eh_util/ausweis/migrations/0001_initial.py
deleted file mode 100644 (file)
index 20f6315..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# Generated by Django 2.2.28 on 2024-08-02 07:38
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
-    initial = True
-
-    dependencies = [
-    ]
-
-    operations = [
-        migrations.CreateModel(
-            name='ConfigData',
-            fields=[
-                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
-                ('verein', models.CharField(max_length=100)),
-                ('key', models.CharField(max_length=50)),
-                ('value', models.CharField(max_length=200)),
-            ],
-        ),
-    ]
index 85a0701..2c9d9a8 100644 (file)
@@ -6,7 +6,3 @@ Falls hier Ă„nderungen gemacht werden:
 - ./manage.py migrate
 """
 
-class ConfigData(models.Model):
-    verein = models.CharField(max_length=100)
-    key    = models.CharField(max_length=50)
-    value  = models.CharField(max_length=200)
diff --git a/python/eh_util/eh_app/.dummy b/python/eh_util/eh_app/.dummy
new file mode 100644 (file)
index 0000000..e69de29
index b657787..3b1cd80 100644 (file)
@@ -31,8 +31,9 @@ ALLOWED_HOSTS = []
 # Application definition
 
 INSTALLED_APPS = [
-       'ausweis.apps.AusweisConfig',
-       'kassenbrief.apps.KassenbriefConfig',
+       'eh_app.apps.EhAppConfig',
+#      'ausweis.apps.AusweisConfig',
+#      'kassenbrief.apps.KassenbriefConfig',
     'django.contrib.admin',
     'django.contrib.auth',
     'django.contrib.contenttypes',
index 2e9cf81..2cb5b2a 100644 (file)
@@ -22,7 +22,8 @@ urlpatterns = [
     path('', views.index),
     path('admin/', admin.site.urls),
     path('eh-abgleich/', include('eh_abgleich.urls')),
-    path('<slug:verein>/', views.vbasis),
-    path('<slug:verein>/ausweis/', include('ausweis.urls')),
-    path('<slug:verein>/kassenbrief/', include('kassenbrief.urls')),
+#    path('<slug:verein>/', views.vbasis),
+#    path('<slug:verein>/ausweis/', include('ausweis.urls')),
+#    path('<slug:verein>/kassenbrief/', include('kassenbrief.urls')),
+    path('<slug:verein>/', include('eh_app.urls')),
 ]