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