|
@ -12,7 +12,7 @@ def fix_all(apps, schema_editor): |
|
|
]: |
|
|
]: |
|
|
Model = apps.get_model('seminar', modelname) |
|
|
Model = apps.get_model('seminar', modelname) |
|
|
ct = ContentType.objects.get_for_model(Model) |
|
|
ct = ContentType.objects.get_for_model(Model) |
|
|
Model.objects.update(polymorphic_ctype_id=ct) |
|
|
Model.objects.update(polymorphic_ctype=ct) |
|
|
|
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
class Migration(migrations.Migration): |
|
|
|
|
|
|
|
|