[PYTHON] Summary of frequently used commands of django (beginner)

Introduction

I've looked up the commands I need to get started with django myself, so I'll summarize them here.

command

Below are the commands for Mac os / Linux. Creating an application

python manage.py startapp sample

Server startup

python manage.py runserver

Launch and enable virtual environment

python3 -m venv env
source env/bin/activate

Creating a migration file

python manage.py makemigrations

Run DB migration

python manage.py migrate

Create database administrator user

python manage.py createsuperuser

in conclusion

The above are the commands you often use. I'm glad if you can use it as a reference.

Recommended Posts

Summary of frequently used commands of django (beginner)
[Anaconda3] Summary of frequently used commands
Summary of frequently used commands in matplotlib
[Python/Django] Summary of frequently used commands (3) <Operation of PostgreSQL>
[Python/Django] Summary of frequently used commands (2) <Installing packages>
Summary of frequently used commands (with petit commentary)
8 Frequently Used Commands in Python Django
List of frequently used Linux commands
[Linux] Review of frequently used basic commands 2
[Linux] Review of frequently used basic commands
pyenv Frequently used commands
Frequently used tmux commands
Frequently used Linux commands
Frequently used Linux commands
Frequently used linux commands
Frequently used pip commands
Summary of frequently used Python arrays (for myself)
[Linux command] A memorandum of frequently used commands
Selenium webdriver Summary of frequently used operation methods
[Python/Django] Summary of frequently used commands (4) -Part 2- <Production operation: Amazon EC2 (Amazon Linux 2)>
[Python/Django] Summary of frequently used commands (4) -Part 1- <Production operation: Amazon EC2 (Amazon Linux 2)>
A collection of commands frequently used in server management
Frequently used subpackages of SciPy
Frequently used commands in virtualenv
Display a list of frequently used commands on Zsh
[For beginners] Django Frequently used commands and reference collection
Prevent double launch of django commands
Linux Frequently Used Commands [Personal Memo]
[Linux] Frequently used Linux commands (file operation)
Frequently used Linux commands (for beginners)
[Linux] Frequently used Linux commands (folder operation)
Django Summary
Django Summary
Summary of methods often used in pandas
Python + Selenium Frequently used operation method summary
[Linux] Summary of middleware version confirmation commands
[Linux] List of Linux commands used in practice
Summary of petit techniques for Linux commands
[Machine learning] List of frequently used packages
List of frequently used built-in functions and methods
Summary of what was used in 100 Pandas knocks (# 1 ~ # 32)
Summary of tools used in Command Line vol.8
Summary of tools used in Command Line vol.5
[Django] Personally used commands, code templates, TDD [Memo]
Summary of evaluation functions used in machine learning
Django filter summary
Frequently used methods of Selenium and Beautiful Soup
Docker. Set frequently used commands to alias "with explanation"
Summary of Linux (UNIX) commands that appeared in Progate
Summary of Pandas methods used when extracting data [Python]
Comparison table of frequently used processes of Python and Clojure
Numerical summary of data
Django DB initialization commands
Python Django tutorial summary
Summary of Tensorflow / Keras
Django commands ignore USE_I18N
Summary of pyenv usage
Impressions of touching Django
[Django series] Basic commands
Summary of string operations
Summary of Python arguments