Unmanage seminar.Nastaveni

Sry, nebudu to psát česky :-)
This commit is contained in:
Pavel 'LEdoian' Turinsky 2023-12-11 20:20:24 +01:00
parent 0fbfb1e3cd
commit df2e4f086a
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Generated by Django 3.2.23 on 2023-12-11 19:14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('seminar', '0114_related_name_se_zmenilo_a_django_chce_migraci_tak_dostane_migraci'),
]
operations = [
migrations.AlterModelOptions(
name='nastaveni',
options={'managed': False, 'verbose_name': 'Nastavení semináře'},
),
]

View file

@ -730,6 +730,7 @@ class Nastaveni(SingletonModel):
class Meta:
db_table = 'seminar_nastaveni'
verbose_name = 'Nastavení semináře'
managed = False
# aktualni_rocnik = models.ForeignKey(Rocnik, verbose_name='aktuální ročník',
# null=False, on_delete=models.PROTECT)