All files for deployment ready and tested - further development in this repo.

This commit is contained in:
2025-09-22 10:42:52 +02:00
parent 57b738e9ce
commit 12c3181ad2
394 changed files with 89982 additions and 0 deletions

17
rollen/models.py Normal file
View File

@@ -0,0 +1,17 @@
from django.db import models
from abschnitte.models import Textabschnitt
# Create your models here.
class Rolle(models.Model):
name = models.CharField(max_length=100, primary_key=True)
def __str__(self):
return self.name
class Meta:
verbose_name_plural="Rollen"
class RollenBeschreibung(Textabschnitt):
abschnitt=models.ForeignKey(Rolle,on_delete=models.CASCADE)
class Meta:
verbose_name_plural="Rollenbeschreibung"
verbose_name="Rollenbeschreibungs-Abschnitt"