From 426378c3e16e53eac8ec2c5a7fba7b3959c116e3 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Wed, 12 Aug 2020 19:58:53 -0700 Subject: [PATCH] Disable system checks for `gulp reset` command --- babybuddy/management/commands/reset.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/babybuddy/management/commands/reset.py b/babybuddy/management/commands/reset.py index 521f88ce..8af27f69 100644 --- a/babybuddy/management/commands/reset.py +++ b/babybuddy/management/commands/reset.py @@ -20,6 +20,9 @@ class Command(BaseCommand): self.username_field = self.UserModel._meta.get_field( self.UserModel.USERNAME_FIELD) + # Disable system checks for reset. + self.requires_system_checks = False + def add_arguments(self, parser): Migrate().add_arguments(parser) Fake().add_arguments(parser)