Browse Source

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

Best commit.
pull/43/head
Pavel 'LEdoian' Turinsky 8 months ago
parent
commit
4182bd542e
  1. 2
      various/models.py

2
various/models.py

@ -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):

Loading…
Cancel
Save