Manage
This commit is contained in:
parent
158c0e4d90
commit
ca0bbb1247
2 changed files with 18 additions and 1 deletions
18
various/migrations/0002_alter_nastaveni_options.py
Normal file
18
various/migrations/0002_alter_nastaveni_options.py
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 3.2.23 on 2023-12-11 19:30
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('various', '0001_initial'),
|
||||||
|
('seminar', '0116_delete_nastaveni'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='nastaveni',
|
||||||
|
options={'verbose_name': 'Nastavení semináře'},
|
||||||
|
),
|
||||||
|
]
|
|
@ -13,7 +13,6 @@ class Nastaveni(SingletonModel):
|
||||||
class Meta:
|
class Meta:
|
||||||
db_table = 'seminar_nastaveni'
|
db_table = 'seminar_nastaveni'
|
||||||
verbose_name = 'Nastavení semináře'
|
verbose_name = 'Nastavení semináře'
|
||||||
managed = False
|
|
||||||
|
|
||||||
# aktualni_rocnik = models.ForeignKey(Rocnik, verbose_name='aktuální ročník',
|
# aktualni_rocnik = models.ForeignKey(Rocnik, verbose_name='aktuální ročník',
|
||||||
# null=False, on_delete=models.PROTECT)
|
# null=False, on_delete=models.PROTECT)
|
||||||
|
|
Loading…
Reference in a new issue