[PYTHON] Register your Django application in your project

■ Environment

windows10home  Pycharm Community 2019.3  Python3.7

■ Prerequisites

It is assumed that you are creating a Django project and application. See below Until Django application is created in the terminal

■ Django application

Every time you create an app, you need to register it in the project and activate it.

■ Procedure

① In Pycharm, open "setting.py" and add it to the "INSTALL.APPS" list.

プロジェクトビューで、「プロジェクト名」ー「プロジェクト名」ーsetting.py

Add line to INSTALLD_APPS (save as Ctl + S)

image.png

(Application name) .apps. (Apps.py class name)

② Time correction

image.png

that's all

Note the file name when adding INSTALL_APPS.

Recommended Posts

Register your Django application in your project
Deploy your Django application on Heroku
[Python] Introduce UIKit3 to your Django project
Models in Django
Django Project Baseline
Forms in Django
Publish django project developed in Cloud9 on heroku
Specify the view URL in your Django template
[Django] css in the project cannot be read
Create a Django project and application in a Python virtual environment and start the server
Django project environment construction
Create an Anaconda virtual environment in your project folder
Initialize your Django app
Model changes in Django
Django --start project without start project
Single sign-on to your Django application with AWS SSO
[Django] Rename the project
Use Django features from batch scripts outside your Django project
Start a Django project
How to reference static files in a Django project
Set the DateTime type output format in your Django template
When you forget your admin screen username / password in Django
Implement an add form button in your Django inline form set
PHP var_dump in Django templates
Implement follow functionality in Django
Django Getting Started: 2_ Project Creation
Tuning your Django admin site
Rename table columns in Django3
Output table structure in Django
Shell to create django project
Web application creation with Django
Create your own Django middleware
Install Django on your Mac
(Note) Django in Vagrant environment
Rename an existing Django application
django project development environment construction
Deploy django project to heroku
Show Django ManyToManyField in Template