tcms.core.management.commands.migrations_order module

class tcms.core.management.commands.migrations_order.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.commands.migrate.Command

Uses migrate –plan to avoid duplicating the internals.

handle(**kwargs)
help = 'List the order in which migrations will be applied. Useful for testing & rollback!'
class tcms.core.management.commands.migrations_order.KiwiOutputWrapper(*args, migrate_heading=None, **kwargs)[source]

Bases: django.core.management.base.OutputWrapper

write(msg='', style_func=None, ending=None)[source]

Write string to stream. Returns the number of characters written (which is always equal to the length of the string).