Commands for creating SNS with Django

This command is required when creating a Django application. I often forget it myself, so I will leave it as a memo.

Django project creation (how to get started)

django-admin startproject project name

Creating an application

python manage.py startapp application name

Start web server

python manage.py runserver

Creating an administrator

python manage.py createsuperuser

Creating a migration file

python manage.py makemigrations application name

Perform migration

python manage.py migrate

Django browser address

http: // localhost: 8000 / application name /

Recommended Posts

Commands for creating SNS with Django
Commands for creating a new django project
Commands for creating a python3 environment with virtualenv
Procedure for creating an application with Django with Pycharm ~ Preparation ~
(For beginners) Try creating a simple web API with Django
Creating a login screen with Django allauth
Creating custom search commands for Splunk EventingCommand
Django 1.9 for internationalization
CRUD with Django
Various commands for building an environment with Apache
Create a dashboard for Network devices with Django!
Django with Python Tools 2.2 for Visual Studio (PTVS 2.2)
Authenticate Google with Django
Django 1.11 started with Python3.6
Upload files with Django
Django DB initialization commands
Output PDF with Django
Markdown output with Django
Django commands ignore USE_I18N
Looking back on creating a web service with Django 1
Use Gentelella with django
Twitter OAuth with Django
Getting Started with Django 1
Send email with Django
Looking back on creating a web service with Django 2
File upload with django
Creating ρ method for elliptic curve cryptography with python
Let's execute commands regularly with cron!
Scripting with Paver-External Commands
Periodically execute python script with cron in venv environment
[Linux] Execute git pull regularly with the crontab command
Commands for creating SNS with Django
Use LESS with Django
Pooling mechanize with Django
Use MySQL with Django
Things to watch out for when migrating with Django
Start today with Django
Getting Started with Django 2
Build a Django environment for Win10 (with virtual space)
Scripting with Paver-External Commands
[For beginners] Django Frequently used commands and reference collection
[Memo] Build a development environment for Django + Nuxt.js with Docker
Recommendations for django, wagtail ~ Why develop a website with python ~
4 Techniques for Creating Diagrams for Papers and Presentation Materials with matplotlib
Create a social integration API for smartphone apps with Django
[Python] Create a screen for HTTP status code 403/404/500 with Django
Do Django with CodeStar (Python3.6.8, Django2.2.9)
Get started with Django! ~ Tutorial ⑤ ~
Minimal website environment with django
Creating GUI tools with pyinstaller
Do Django with CodeStar (Python3.8, Django2.1.15)
Deploy Django serverless with Lambda
Getting Started with Python Django (1)
Creating an egg with python
SNS Flask (Ajax) made with Flask
Create a homepage with django
Get started with Django! ~ Tutorial ④ ~
Getting Started with Python Django (4)
Web application creation with Django
Getting Started with Python Django (3)
Combine FastAPI with Django ORM
Get started with Django! ~ Tutorial ⑥ ~
Save tweet data with Django
Do AES encryption with DJango
Getting Started with Python Django (6)