Django basics

Create working directory

$ mkdir mysite

Build a virtual environment

$ cd mysite
$ python3 -m venv venv

Enable virtual environment

$ venv/bin/activate

Install django

(venv)$ pip install django

Project creation

(venv)$ django-admin startproject config .

Start the server and check the operation

(venv)$ python manage.py runserver

Access 127.0.0.1:8000 with your browser

Recommended Posts

Django basics
Django
Django REST framework basics
django update
Django note 4
Python basics ⑤
Django memorandum
django search
Django installation
Python basics
Django Summary
Django test
NumPy basics
Pandas basics
Git basics
Django # 2 (template)
Django Note 5
Django hands-on
Touch django
Django Summary
Python basics ③
Python basics
Django Shoho
Django defaults
Django + Docker
Linux basics
Django Glossary
Pandas basics
Django search
Python basics
Install Django
Python basics
Python basics ③
Django: References
Django Note 1
Python basics ②
Django note 3
Python basics ②
Django note 2
Django startup
Django notes
Django NullCharField
Django environment construction
Django ~ settings.py edition ~
Python basics: list
Python basics memorandum
Django Heroku Deploy 1
Django HTML Template # 2
Shell script basics # 2
Django Contact Form 2
Django begins part 1
Django model: ManyToManyField
What is Django? .. ..
Models in Django
Django function-based view
Python Django Tutorial (5)
Django Learning Memo
Python Django Tutorial (2)
[Django] as_view () notes
First Django Challenge
django makemigarations createsuperuser