berhoel.django.media_ooimport.migrations.0001_initial.Migration.apply¶
-
Migration.
apply
(self, project_state, schema_editor, collect_sql=False)[source]¶ Take a project_state representing all migrations prior to this one and a schema_editor for a live database and apply the migration in a forwards order.
Return the resulting project state for efficient reuse by following Migrations.