Start Django Tutorial 1

What did you do

Build your app according to the official Django Tutorial https://docs.djangoproject.com/ja/2.2/intro/tutorial01/

environment

Django installation

I installed Django in a virtual environment with Anaconda.

> conda install django

> python -m django --version
2.2.5

Creating a project

According to Django official

If you're new to Django, you'll need to do the initial setup. Typically, you'll auto-generate the code that makes up your Django project. A project is a collection of settings for individual Django instances, such as database settings, Django-specific options, and application-specific settings.

Make a project immediately.

> django-admin startproject mysite

Start the created project.

> cd mysite
> python manage.py runserver

In this state, access http: // localhost: 8000.

無題.png

For the time being, I knew that Django could be used in the current environment.

Recommended Posts

Start Django Tutorial 1
Python Django Tutorial (2)
django tutorial memo
Python Django Tutorial (8)
Python Django Tutorial (6)
Python Django Tutorial (7)
Python Django Tutorial (1)
Python Django tutorial tutorial
Python Django Tutorial (3)
Python Django Tutorial (4)
Python Django tutorial summary
Django Polymorphic Associations Tutorial
django oscar simple tutorial
Django --start project without start project
Django Girls Tutorial Note
Start a Django project
Start today with Django
Get started with Django! ~ Tutorial ⑤ ~
Get started with Django! ~ Tutorial ④ ~
Django
Get started with Django! ~ Tutorial ⑥ ~
Python Django Tutorial Cheat Sheet
Until the start of the django tutorial with pycharm on Windows
Django Girls Tutorial Summary First Half
Stumble when doing the django 1.7 tutorial
Deploy the Django tutorial to IIS ①
Start Django for the first time
Django Crispy Tutorial (Environment Building on Mac)
django update
sqlalchemy tutorial
Django memorandum
django search
Django installation
Start scraping
Django Summary
Django test
PyODE Tutorial 2
Python tutorial
Django # 2 (template)
Start python
Django Note 5
Django tutorial summary for beginners by beginners ③ (View)
Django hands-on
Touch django
django notes
Django Summary
Django basics
PyODE Tutorial 3
Django Shoho
Django defaults
Django Tutorial (Blog App Creation) ⑤ --Article Creation Function
Django + Docker
Django Foreign Key Tutorial Ends in 10 Minutes
Django Glossary
Django search
Install Django
Django: References
Django Tutorial (Blog App Creation) ④ --Unit Test
Django Note 1
Django note 3
TensorFlow tutorial tutorial