File: sample.py.tmpl

package info (click to toggle)
python-django-extensions 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,820 kB
  • sloc: python: 18,601; javascript: 7,354; makefile: 108; xml: 17
file content (11 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
from django.core.management.base import {{ base_command }}


class Command({{ base_command }}):
    help = "My shiny new management command."

    def add_arguments(self, parser):
        parser.add_argument('sample', nargs='+')

    def handle(self, *args, **options):
        raise NotImplementedError()