[PYTHON] Until you create a new app in Django

Django installation

$ pip install Django

Run the command to install Django.

Create a virtual environment

Create a virtual environment before you start your Django project.

$ python -m venv [Virtual environment name]

After creating it, move to the [Virtual environment name] \ Scripts directory and try running the virtual environment.

$ activate.bat

If you can confirm that the virtual environment can be started

$ deactivate

To exit the virtual environment. Basically, from here on, you will be working with this virtual environment running.

Create a Django project

Go to the directory where you want to create your Django project (this time the directory you created earlier) and enter the virtual environment.

Once in the virtual environment

$ Django-admin startproject [Project name]

Execute the command. Set the project name as you like.

Create new app

While in the virtual environment, move to the directory where manage.py is located

$ python manage.py startapp [app name]

Execute the command. This is the end of the process.

Recommended Posts

Until you create a new app in Django
Create a LINE Bot in Django
Create a simple GUI app in Python
Create a Python-GUI app in Docker (PySimpleGUI)
Create a Django schedule
Until you deploy a SpringBoot project in Gradle on App Engine Flexible
Create a new page in confluence with Python
How to create a Rest Api in Django
Create a Todo app with Django REST Framework + Angular
Create a Todo app with the Django REST framework
Create a Todo app with Django ③ Create a task list page
Until you insert data into a spreadsheet in Python
Until you run server Django in Visual Studio Code
To myself as a Django beginner (1) --Create a project app--
To myself as a Django beginner (4) --Create a memo app--
Create a Todo app with Django ⑤ Create a task editing function
Create a function in Python
Create a dictionary in Python
Create a Django login screen
Create a shogi game record management app using Django 4 ~ Create View ~
Until I return something with a line bot in Django!
Create a new list by combining duplicate elements in the list
Create a Todo app with Django ① Build an environment with Docker
Create a CSV reader in Flask
Steps to create a Django project
Until you put Python in Docker
Until you start crawling in Scrapy
Create a binary file in Python
Implement a Django app on Hy
Until you put pyaudio in Mavericks
Create a random string in Python
Create a file uploader with Django
Create a shogi game record management app using Django 2-Database settings-
Web App Development Practice: Create a Shift Creation Page with Django! (Shift creation page)
Create a shogi game record management app using Django 6 ~ Template division ~
Create and deploy a Django (PTVS) app using Azure Table storage
How to deploy a Django app on heroku in just 5 minutes
Install Django in a pipenv virtual environment
When you can't call base.html in Django
Created a new corona app in Kyoto with Python's web framework Dash
Create a new Python numerical calculation project
What's new in Django 1.8 Conditional Expressions #djangoja
Create a shogi game record management app using Django 3 ~ Django default management site settings ~
If you get a Programming Error: (1146, "Table'<table name>' doesn't exist") in Django
Web App Development Practice: Create a Shift Creation Page with Django! (Introduction)
Commands for creating a new django project
Create a JSON object mapper in Python
Create a GUI app with Python's Tkinter
[Can be done in 10 minutes] Create a local website quickly with Django
Dynamically specify a ModelChoiceField queryset in Django
Create a new dict that combines dicts
Create your first app with Django startproject
[GPS] Create a kml file in Python
Until you can step in PyCharm + Django + virtual environment (pyvenv + Python3) (mac)
Create a Todo app with Django ④ Implement folder and task creation functions
Implement a Custom User Model in Django
Create a web service in Flask-SQLAlchemy + PostgreSQL
Create a Python image in Django without a dummy image file and test the image upload
Create a plugin that allows you to search Sublime Text 3 tabs in Python
If you want to display values using choices in a template in a Django model
Test the number of times you have thrown a query (sql) in django