What is the recommended structure to create a project?
/proyecto
/app01
/app02
manage.py
I have 3 doubts:
- Is an application (app) considered a module in the project?
- What is a module in Django?
- What is an application on Django?
What is the recommended structure to create a project?
/proyecto
/app01
/app02
manage.py
I have 3 doubts:
To create a Django project it is best that you simply use the startproject
command, which already has the whole structure for you to start working.
django-admin startproject NUEVO_PROYECTO /home/andres/Dev/nuevo_proyecto
You have a similar command to create a new application.
From the project directory, this command creates you a new application:
python manage.py startapp mi_app