Browse Source

create template command

blezz-tech 2 weeks ago
parent
commit
f77b200cd0

+ 0 - 0
management/__init__.py


+ 0 - 0
management/commands/__init__.py


+ 11 - 0
management/commands/init_default_data.py

@@ -0,0 +1,11 @@
+from django.core.management.base import BaseCommand
+
+
+class Command(BaseCommand):
+    help = "My shiny new management command."
+
+    def add_arguments(self, parser):
+        parser.add_argument('sample', nargs='+')
+
+    def handle(self, *args, **options):
+        raise NotImplementedError()