Command line utility for building Django projects
Project description
build-django
Command line utility to build Django projects
Features
- Async
- Flexible
Installation
pip install build-django
Usage
build-django my_project --dir my_project_path --debug --hosts localhost,127.0.0.1,example.com --python python3 --migrate --git --commit --commit-message "My first commit!" --packages bjcli djangorestframework
Argument | Description | Required | Default | Type |
---|---|---|---|---|
--version | Show version and exit | False | False | bool |
--dir | Django project directory | False | ./ | str |
--debug | Should initialize env with DEBUG=True | False | False | bool |
--no-compile | pip: Do not compile Python source files to bytecode | False | False | bool |
--hosts | List of comma sperated Django ALLOWED_HOSTS values | False | '' | str |
--python | Python command for initializing virtual environment. If not set, the Python used to run the program will be used | False | None | str |
--migrate | Should apply initial migrations after project built | False | False | bool |
--git | Should initialize git repository | False | False | bool |
--commit | Should create initial commit after project built and git initialized | False | False | bool |
--commit-message | Initial commit message | False | 'Initial commit' | str |
--packages | List of additional pip packages to be installed | False | [] | [str] |
--use-ssl | Enable SSL support for reverse proxy (production only) | False | False | bool |
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 Distribution
build-django-3.1.0.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for build_django-3.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4cbf25b030dfd6541622b42cfd8559037229351cf5ecaa399bf35d3085c2214 |
|
MD5 | 34cd4c494d9b4f0a32cb54d6265d8890 |
|
BLAKE2b-256 | 7833ab2d313ba3ebf7da3e848842ee04ae17116de0d6eb89947e4f17c56dc907 |