Mrtvy kod
This commit is contained in:
parent
d051125f8d
commit
a7efe1c691
1 changed files with 0 additions and 7 deletions
|
@ -32,13 +32,6 @@ def poskladej_strom(apps, rodic, *texty):
|
||||||
tn.succ = textnode
|
tn.succ = textnode
|
||||||
tn.save()
|
tn.save()
|
||||||
tn = tn.succ
|
tn = tn.succ
|
||||||
def problem_to_polymorphic_Problem(apps,schema_editor):
|
|
||||||
Problem = apps.get_model('seminar', 'Problem')
|
|
||||||
ContentType = apps.get_model('contenttypes', 'ContentType')
|
|
||||||
|
|
||||||
new_ct = ContentType.objects.get_for_model(Problem)
|
|
||||||
Problem.objects.filter(polymorphic_ctype__isnull=True).update(polymorphic_ctype=new_ct)
|
|
||||||
|
|
||||||
|
|
||||||
def uloha_to_Uloha(apps,schema_editor):
|
def uloha_to_Uloha(apps,schema_editor):
|
||||||
Problem = apps.get_model('seminar', 'Problem')
|
Problem = apps.get_model('seminar', 'Problem')
|
||||||
|
|
Loading…
Reference in a new issue