X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/5aa5adcf276f2017c9747bc8214fb1e6ee8c82bc..1422f0d2c8325b2c4d6781bd3c7b21a3d5873b90:/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):