Django basic cli commands cheatsheet

Hey everyone, I would like to share some basic Django commands which every Django developer should know. Basically, I created this for my Django projects but later thought it would be good to share it with you guys 😎. 

CLI Commands
  1. Install Django:- python -m pip install Django
  2. Start Project:- django-admin startproject PROJECT_NAME
  3. Create app:- python manage.py startapp APP_NAME
  4. Run server:- python manage.py runserver
  5. Migrate:- python manage.py migrate
  6. Make Migration:- python manage.py makemigrations APP_NAME
  7. Create super user:- python manage.py createsuperuser -> Provide email(example4u@gmail.com), username(example) and password(passwd)
  8. Interact with Shell:- python manage.py shell





Hope you enjoyed my blog post.😎
Let me know in the comments below if you face any problem.

Comments

Popular posts from this blog

How to pass parameters in webhook?

Access and modify all the resources of our Wiki.js using WikiJS API

Fahrenheit to Celsius