« Previous - Version 6/21 (diff) - Next » - Current version
Paul Carensac, 08/08/2016 04:31 pm


Project structure

Schemas and descriptions of the project's architecture.


Pyros Workflow

Error executing the thumbnail macro (Attachment pyros_design_en.png not found)


Folders architecture

Error executing the thumbnail macro (Attachment folders_architecture.png not found)


Applications architecture

Error executing the thumbnail macro (Attachment applications_architecture.png not found)

Django applications are created with the command :

$ python manage.py startapp AppName

This commands automatically create some files and folders :

  • migrations : A folder containing the DB modifications files (only used in the pyrosapp application)
  • templates : A folder containing the Django HTML templates for this application
  • init.py & apps.py : App configuration files (not used)
  • models.py & admin.py : Files desribing database objects, and their representation in the admin interface (only used in pyrosapp)
  • views.py : File containing the code called for each web page

We added some other files to every application :

  • urls.py : File describing the routing from urls to views. Directly linked to (and called by) the "pyros" folder's urls.py.
  • tasks.py : File containing the Celery tasks for this application.

pyros_design_en.png (109 KB) Paul Carensac, 08/08/2016 04:12 pm

applications_architecture.png (17.7 KB) Paul Carensac, 08/08/2016 04:12 pm

folders_architecture.png (67.4 KB) Paul Carensac, 08/08/2016 05:42 pm