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

23
abschnitte/models.py Normal file
View File

@@ -0,0 +1,23 @@
from django.db import models
class AbschnittTyp(models.Model):
abschnitttyp = models.CharField(max_length=100, primary_key=True)
def __str__(self):
return self.abschnitttyp
class Meta:
verbose_name_plural = "Abschnitttypen"
class Textabschnitt(models.Model):
abschnitttyp = models.ForeignKey(
AbschnittTyp, on_delete=models.PROTECT, blank=True, null=True
)
inhalt = models.TextField(blank=True, null=True)
order=models.PositiveIntegerField(default=0)
class Meta:
abstract = True
verbose_name = "Abschnitt"
verbose_name_plural = "Abschnitte"