commands.reset_db ================= .. py:module:: commands.reset_db .. autoapi-nested-parse:: Management command to reset the database and migrations. Module Contents --------------- .. py:data:: ENGINE_SQLITE :value: 'django.db.backends.sqlite3' .. py:data:: ENGINE_POSTGRESQL :value: 'django.db.backends.postgresql' .. py:class:: Command(stdout=None, stderr=None, no_color=False, force_color=False) Bases: :py:obj:`django.core.management.BaseCommand` Management command to reset the database and migrations. .. py:attribute:: help :value: 'Resets the database by deleting current version migrations, dropping the database, then running... .. py:method:: add_arguments(parser) Adds command arguments/options. .. py:method:: handle(*_args, **options) Executes the command.