django-subcommands 2019.3.22
pip install django-subcommands==2019.3.22
Newer version available (2020.12.3)
Released:
Django subcommands
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Public Domain
- Tags django , subcommands
Classifiers
- Framework
- License
- Operating System
- Programming Language
- Topic
Project description
Installation
$ [sudo] pip install django-subcommands
Classes
class | __doc__ |
---|---|
django_subcommands.SubCommands |
SubCommands class. attrs: subcommands (dict) |
Examples
management/commands/command.py
from django.core.management.base import BaseCommand
import django_subcommands
class SubCommand1(BaseCommand):
def handle(self, *args, **options):
...
class SubCommand2(BaseCommand):
def handle(self, *args, **options):
...
class Command(django_subcommands.SubCommands):
subcommands = {"subcommand1": SubCommand1,"subcommand2":SubCommand2}
$ python manage.py command subcommand1
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Public Domain
- Tags django , subcommands
Classifiers
- Framework
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-subcommands-2019.3.22.tar.gz
.
File metadata
- Download URL: django-subcommands-2019.3.22.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b8c1a09ef0402994118cfa42afee74f7877378b57b68aaad856c461b9d44f5a9
|
|
MD5 |
2328c83fb59b638c6c3097d85e2803b2
|
|
BLAKE2b-256 |
7b05615f9cb97ee7dac79d4c0fc21716ab5d3e6fd87886b9d41336bf63bc2506
|
File details
Details for the file django_subcommands-2019.3.22-py2.py3-none-any.whl
.
File metadata
- Download URL: django_subcommands-2019.3.22-py2.py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
860349ad023550a3850cd0db962dffc363d488640c26d73beb9672096e5e3cd3
|
|
MD5 |
d56229055427255577a550178724f51a
|
|
BLAKE2b-256 |
1c544060db089f8db535a55f7725ac3c9f38d5d60eca71570d1bc083c20695e8
|