Změna importu (odstraněn proxy import)
This commit is contained in:
parent
4009aedff0
commit
137ad8863c
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue