Split Apps: oddělení personálních modelů #43

Merged
ledoian merged 48 commits from split-apps into master 2024-04-30 23:48:36 +02:00
Showing only changes of commit 4182bd542e - Show all commits

View file

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