This commit is contained in:
Holger Sielaff
2025-08-27 09:55:55 +02:00
commit 90c0ff61ed
107 changed files with 8535 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Generated by Django 5.2.4 on 2025-07-10 09:30
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='UserProfile',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('ldap_uid', models.CharField(max_length=100, unique=True)),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL)),
],
),
]

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.2.4 on 2025-07-18 11:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('frontend', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='userprofile',
name='settings',
field=models.JSONField(default={'dashboard_view': 'list'}),
),
]

View File

@@ -0,0 +1,19 @@
# Generated by Django 5.2.4 on 2025-07-21 11:03
import frontend.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('frontend', '0002_userprofile_settings'),
]
operations = [
migrations.AlterField(
model_name='userprofile',
name='settings',
field=models.JSONField(default=frontend.models.default_settings),
),
]

View File