|
|
@ -18,10 +18,10 @@ def transform_autor(apps, schema_editor): |
|
|
|
oprava.autor_org = org |
|
|
|
oprava.save() |
|
|
|
except: |
|
|
|
print "Org nenalezen -- mažu korekturu" |
|
|
|
print("Org nenalezen -- mažu korekturu") |
|
|
|
# oprava.delete() |
|
|
|
else: |
|
|
|
print "Org nenalezen -- mažu korekturu" |
|
|
|
print("Org nenalezen -- mažu korekturu") |
|
|
|
oprava.delete() |
|
|
|
|
|
|
|
# preorgovani komentaru |
|
|
@ -35,10 +35,10 @@ def transform_autor(apps, schema_editor): |
|
|
|
komentar.autor_org = org |
|
|
|
komentar.save() |
|
|
|
except: |
|
|
|
print "Org nenalezen -- mažu korekturu" |
|
|
|
print("Org nenalezen -- mažu korekturu") |
|
|
|
# oprava.delete() |
|
|
|
else: |
|
|
|
print "Org nenalezen -- mažu korekturu" |
|
|
|
print("Org nenalezen -- mažu korekturu") |
|
|
|
komentar.delete() |
|
|
|
|
|
|
|
def back(apps, schema_editor): |
|
|
|