mirror of https://github.com/snachodog/mybuddy.git
Disable system checks for `gulp reset` command
This commit is contained in:
parent
3f0694dc9d
commit
426378c3e1
|
@ -20,6 +20,9 @@ class Command(BaseCommand):
|
||||||
self.username_field = self.UserModel._meta.get_field(
|
self.username_field = self.UserModel._meta.get_field(
|
||||||
self.UserModel.USERNAME_FIELD)
|
self.UserModel.USERNAME_FIELD)
|
||||||
|
|
||||||
|
# Disable system checks for reset.
|
||||||
|
self.requires_system_checks = False
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
Migrate().add_arguments(parser)
|
Migrate().add_arguments(parser)
|
||||||
Fake().add_arguments(parser)
|
Fake().add_arguments(parser)
|
||||||
|
|
Loading…
Reference in New Issue