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 |
---|---|---|---|---|
--dir | Django project directory | False | ./ | str |
--debug | Should initialize env with DEBUG=True | False | False | bool |
--hosts | List of comma sperated Django ALLOWED_HOSTS values | False | '' | str |
--python | Python command for initializing virtual environment | False | 'python3' | 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] |
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-1.0.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for build_django-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ce86e2e571dbe2d8ef947e64706a7a3974bdc2e37c1b19bb7191b59989f406 |
|
MD5 | 3b0e87eb685486c044ed8f73c365f81e |
|
BLAKE2b-256 | d28c9fa4b2b0e90afd9e6bfedffd9566ca26f2d0584640f2bc2e2bae5bef00c3 |