This script saves time for you to start a new Django project. It creates the project and creates the first app and then updates the project settings file and also updates the project URLs file and then creates a views and configures the application URLs file and also creates the index.html
TL;DR
New Feature
-
-v, --virtualenv
For create virtual environment by default nameenv
-
-n, --name
To set custom name for virtualenv-v -n my_new_name
Chang Log
- added help options
- fixes bugs
- refactor code
- remove version check function
- required add path to project
django-start <project_name> <app_name> .
- now for install django-start just type
pip install django-start-automate
Installation
pip install django-start-automate
django-start --help
usage: django-start [-h] [-v] [-n ] project_name app_name path
django-start 1.0.4 (Beta) automate start project and create app
positional arguments:
project_name Write a project name
app_name Write an app name
path select path
options:
-h, --help show this help message and exit
-v, --virtualenv Create virtualenv
-n [], --name [] Set virtualenv name
Success Install 🎊
Start First Project with virtualenv
django-start frist_project first_app -v -n my_virtualenv .
You can run command without create virrualenv
django-start frist_project first_app .
Top comments (2)
why not use a django template instead ?
docs.djangoproject.com/en/dev/ref/...
Use django-start to create your own template !