From: Maximilian Friedersdorff Date: Fri, 24 Jul 2020 09:51:40 +0000 (+0100) Subject: Add template for django management command X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;ds=sidebyside;p=max%2Ftemplates.git Add template for django management command --- 1bb9645565ecc126b6f25fdd26b3a81f2ceb0cac 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