X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/1d3756407233b937d7491bde6dd4046fb8b4b6d6..d807884e8aa5b94a79e5f130fd2ce711e287eb3a:/migrations/0005_add_attribute_values.py?ds=sidebyside diff --git a/migrations/0005_add_attribute_values.py b/migrations/0005_add_attribute_values.py index d8675ee..9bea73f 100644 --- a/migrations/0005_add_attribute_values.py +++ b/migrations/0005_add_attribute_values.py @@ -40,6 +40,10 @@ class Migration(SchemaMigration): # Adding unique constraint on 'Attribute', fields ['value_object_id', 'value_content_type'] db.create_unique('philo_attribute', ['value_object_id', 'value_content_type_id']) + # Manual addition! This is necessary to immediately cause contenttype creation. + # (needed for the next migration) + db.send_pending_create_signals() + def backwards(self, orm):