The Django project structure has been changed in the 1.6 release version. Django (django-admin.py
) also has a startapp
command to create an application, so it is high time to tell you the difference between an application and a project in Django.
A project is a complete website or application, whereas an application is a small, self-contained Django application. An application is based on the principle that it should do one thing and do it right.
To ease out the pain of building a Django project right from scratch, Django gives you an advantage by auto-generating the basic project structure files from which any project can be taken forward for its development and feature addition.
Thus, to conclude, we can say that a project is a collection of applications, and an application can be written as a separate entity and can be easily exported to other applications for reusability.
To create your first Django project, open a terminal (or Command Prompt for Windows users...