Get a django command
Project description
Django only includes the django-admin. They prefer to not include multiple ways to do the same thing, but I really want to spell it django. I also wanted to be able to configure a default settings file in a setup.cfg configuration file.
Usage
pip install django-cmd
django startproject
Once installed, you can use the django command the same as you would normally use the django-admin command. Additionally, you can add a section like this to a setup.cfg file to configure the DJANGO_SETTINGS_MODULE that you would like to use when no other is specified.
[django]
settings_module = myproject.settings
That’s it! Have fun!
Project details
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file django_cmd-1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_cmd-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23bb10fe17a5365f9ccd7f16312c49e505b208ff37ea1556cdf48b84fe372df4 |
|
MD5 | 42bfe5bbb556569ca2a56c5d68eaba92 |
|
BLAKE2b-256 | 4f4668baafdb728d45d15d5f1dfbcf5fcda2c880f5e1caa2bbbd33d2cd6dfcd0 |