Django web project is comprised of applications, and each Django internet project can contains multiple applications. This short article shall let you know how exactly to produce and add Django application in internet task. Most of the operation is implemented in a virtual environment. Please look over How To Install Python Django In Virtual Environment first should you not understand.
1. Example Overview.
- The folder that is working this instance is virtualenv .
- my_env is one virtual environment folder that i produced.
- The folder that is my_django_project the Django internet task folder, also it contains one task settings folder my_django_project and another application folder to_do_list .
- The absolute most files that are important my_django_project / my_django_project folder are settings.py ( provides the web task configuration settings information, such as for example template file directory) and urls.py ( provides the internet project request url way to each application’s urls.py mappings.).Read More