berhoel.django.media_ooimport.migrations.0001_initial.Migration.mutate_state

Migration.mutate_state(self, project_state, preserve=True)[source]

Take a ProjectState and return a new one with the migration’s operations applied to it. Preserve the original object state by default and return a mutated state from a copy.