Browse Source

Změna importu (odstraněn proxy import)

export_seznamu_prednasek
Jonas Havelka 3 years ago
parent
commit
137ad8863c
  1. 8
      seminar/models/odevzdavatko.py

8
seminar/models/odevzdavatko.py

@ -12,11 +12,11 @@ from django.conf import settings
from seminar.models import tvorba as am
from seminar.models import personalni as pm
from seminar.models import treenode as tm
from seminar.models.base import SeminarModelBase
from seminar.models import base as bm
@reversion.register(ignore_duplicates=True)
class Reseni(am.SeminarModelBase):
class Reseni(bm.SeminarModelBase):
class Meta:
db_table = 'seminar_reseni'
@ -85,7 +85,7 @@ class Reseni(am.SeminarModelBase):
# self.cislo_body = self.problem.cislo_reseni
# super(Reseni, self).save(*args, **kwargs)
class Hodnoceni(am.SeminarModelBase):
class Hodnoceni(bm.SeminarModelBase):
class Meta:
db_table = 'seminar_hodnoceni'
verbose_name = 'Hodnocení'
@ -117,7 +117,7 @@ def generate_filename(self, filename):
@reversion.register(ignore_duplicates=True)
class PrilohaReseni(am.SeminarModelBase):
class PrilohaReseni(bm.SeminarModelBase):
class Meta:
db_table = 'seminar_priloha_reseni'

Loading…
Cancel
Save