From 1bb9645565ecc126b6f25fdd26b3a81f2ceb0cac Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 24 Jul 2020 10:51:40 +0100 Subject: [PATCH] Add template for django management command --- django_management_command.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 django_management_command.py diff --git a/django_management_command.py b/django_management_command.py new file mode 100644 index 0000000..be04aa4 --- /dev/null +++ b/django_management_command.py @@ -0,0 +1,13 @@ +"""Django management command""" +from django.core.management import BaseCommand, CommandError +# pylint: disable=missing-class-docstring, missing-function-docstring + + +class Command(BaseCommand): + help = "Foos all the Bars" + + def add_arguments(self, parser): + pass + + def handle(self, *args, **options): + pass -- 2.47.1