class documentation

class MigrationWriter: (source)

View In Hierarchy

Take a Migration instance and is able to produce the contents of the migration file from it.

Class Method register_serializer Undocumented
Class Method serialize Undocumented
Class Method unregister_serializer Undocumented
Method __init__ Undocumented
Method as_string Return a string of the file contents.
Instance Variable include_header Undocumented
Instance Variable migration Undocumented
Instance Variable needs_manual_porting Undocumented
Property basedir Undocumented
Property filename Undocumented
Property path Undocumented
@classmethod
def register_serializer(cls, type_, serializer): (source)

Undocumented

@classmethod
def serialize(cls, value): (source)

Undocumented

@classmethod
def unregister_serializer(cls, type_): (source)

Undocumented

def __init__(self, migration, include_header=True): (source)

Undocumented

def as_string(self): (source)

Return a string of the file contents.

include_header = (source)

Undocumented

migration = (source)

Undocumented

needs_manual_porting: bool = (source)

Undocumented

Undocumented

Undocumented

Undocumented