In order to create a Django project, we have to autogenerate some code that establishes a Django project that is a collection of settings, including the database configurations, Django-specific options, and application-specific settings. Perform the following steps:
- We will start by running the following command:
(venv) [root@ip-172-31-95-213 django_app]# django-admin startproject atmproject
The preceding command will create an atmproject directory in your current directory with the following structure:
(venv) [root@ip-172-31-95-213 django_app]# yum install tree -y
(venv) [root@ip-172-31-95-213 django_app]# tree atmproject
atmproject
├── atmproject
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── manage.py
- You have successfully created a new Django project, as shown...