Unmanage seminar.Nastaveni
Sry, nebudu to psát česky :-)
This commit is contained in:
parent
0fbfb1e3cd
commit
df2e4f086a
2 changed files with 18 additions and 0 deletions
17
seminar/migrations/0115_alter_nastaveni_options.py
Normal file
17
seminar/migrations/0115_alter_nastaveni_options.py
Normal 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'},
|
||||
),
|
||||
]
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue