Django internet project consist of applications, and every Django web project can contains multiple applications. This informative article shall inform you just how to produce and include Django application in web task. Most of the operation is implemented in an environment that is virtual. Please read How To Install Python Django In Virtual Environment first if you fail to understand.
1. Example Overview.
- The folder that is working this instance is virtualenv .
- my_env is simply one digital environment folder that i produced.
- The folder that is my_django_project the Django internet task folder, and it also contains one project settings folder my_django_project and something application folder to_do_list .
- Probably the most files that are important my_django_project / my_django_project folder are settings.py ( offers the internet task setup settings information, such as for example template file directory) and urls.py ( provides the web project request url road to each application’s urls.py mappings.). (suite…)