Oprava nejvíc haluz migrace, wtf, nevím co dělám

Best commit.
This commit is contained in:
Pavel 'LEdoian' Turinsky 2024-03-12 22:15:12 +01:00
parent 17b4a4764c
commit 4182bd542e

View file

@ -9,7 +9,7 @@ from django.urls import reverse
# Whatever, makemigrations chce default, má ho mít lol.
def _default_aktualni_cislo():
return Cislo.objects.last()
return Cislo.objects.last().id
@reversion.register(ignore_duplicates=True)
class Nastaveni(SingletonModel):