DEV Community

Momin Iqbal
Momin Iqbal

Posted on • Edited on

Django All Configuration in single Command

quick-django
Create django project quickly single command
1) djnago app
2) urls.py
3) templates folder
4) static folder
5) and add the default code in view.py
6) models.py
7) admin.py
8) index.html

Install
pip install quick-django
Open cmd and type
python -m quick-django myproject myproject_app

Github

GitHub logo MominIqbal-1234 / quick-django

quick-django save your time and increase your development speed in django project

Downloads quick-django

Downloads

quick-django

Create django project quickly single command with all necessary file like djnago app, urls.py, templates folder, static folder and add the default code in view.py,models.py,admin.py and create index.html

How to use quick-django

Step: 1

pip install quick-django
Enter fullscreen mode Exit fullscreen mode

Step: 2

Window

open cmd in your porject folder and run this command

python -m quick-django myproject myproject_app 
Enter fullscreen mode Exit fullscreen mode

Linux

open terminal in your porject folder and run this command

python3 -m quick-django myproject myproject_app 
Enter fullscreen mode Exit fullscreen mode

Configuration

# setting.py
 INSTALLED_APPS = [
            ....
       'myproject_app',
       
        ]
Enter fullscreen mode Exit fullscreen mode

For Rest-Api

Window

open cmd in your porject folder and run this command

python -m quick-django myproject myproject_app --restapi
Enter fullscreen mode Exit fullscreen mode

Linux

open terminal in your porject folder and run this command

python3 -m quick-django myproject myproject_app --restapi
Enter fullscreen mode Exit fullscreen mode

Configuration

# setting.py
 INSTALLED_APPS = [
       'myproject_app',
       
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

Collapse
 
allvatus profile image
Álvaro Martinez

I started to learn Django, and this resource helped me a lot. Thanks you so much Momin!

Collapse
 
mominiqbal1234 profile image
Momin Iqbal

Thanks you so much Bro