From: Michael Wagner Date: Sat, 9 Nov 2024 22:03:35 +0000 (+0100) Subject: pydev-s6 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d062f64186fb47dcda051f91f4f1599f4d9ca6fc;p=SVBaL.git pydev-s6 --- diff --git a/python/eh_util/ausweis/admin.py b/python/eh_util/ausweis/admin.py index d654f08..6c6f054 100644 --- a/python/eh_util/ausweis/admin.py +++ b/python/eh_util/ausweis/admin.py @@ -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 index 20f6315..0000000 --- a/python/eh_util/ausweis/migrations/0001_initial.py +++ /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)), - ], - ), - ] diff --git a/python/eh_util/ausweis/models.py b/python/eh_util/ausweis/models.py index 85a0701..2c9d9a8 100644 --- a/python/eh_util/ausweis/models.py +++ b/python/eh_util/ausweis/models.py @@ -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 index 0000000..e69de29 diff --git a/python/eh_util/eh_util/settings.py b/python/eh_util/eh_util/settings.py index b657787..3b1cd80 100644 --- a/python/eh_util/eh_util/settings.py +++ b/python/eh_util/eh_util/settings.py @@ -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', diff --git a/python/eh_util/eh_util/urls.py b/python/eh_util/eh_util/urls.py index 2e9cf81..2cb5b2a 100644 --- a/python/eh_util/eh_util/urls.py +++ b/python/eh_util/eh_util/urls.py @@ -22,7 +22,8 @@ urlpatterns = [ path('', views.index), path('admin/', admin.site.urls), path('eh-abgleich/', include('eh_abgleich.urls')), - path('/', views.vbasis), - path('/ausweis/', include('ausweis.urls')), - path('/kassenbrief/', include('kassenbrief.urls')), +# path('/', views.vbasis), +# path('/ausweis/', include('ausweis.urls')), +# path('/kassenbrief/', include('kassenbrief.urls')), + path('/', include('eh_app.urls')), ]