Pyros applications
Version 3 (Paul Carensac, 03/31/2016 10:57 am) → Version 4/60 (Paul Carensac, 03/31/2016 11:03 am)
h1. Pyros applications
List and details of all the pyros applications.
---
h2. %{margin-left:0px; font-weight:bold; font-size:25px; display:block; color:red;}pyrosapp%
h3. Purpose
* Contains all the database Models
* Basic tests in tests.py
* Backoffice configuration in admin.py
h3. Notes
* Will be progressively deleted while models being displaced
---
h2. %{margin-left:0px; font-weight:bold; font-size:25px; display:block; color:red;}dashboard%
h3. Purpose
* Interface for all external users
* Leads to displays and actions for all the pyros modules (users, requests, system execution, ...)
h3. Evolution
* Creating application
* manage.py startapp dashboard
* add 'dashboard' in settings.py -> INSTALLED_APPS
* create a urls.py file in dashboard module
* add _url(r'^dashboard/', include('dashboard.urls'))_ in pyros/urls.py -> urlpatterns
* create templates/ and templates/dashboard/ folders in dashboard module
h3. Notes
* The buttons lead to the Admin interface for the moment
h3. TODO
* Create the backoffice views as the modules are integrated in pyros
* Think about a system of permissions
---
List and details of all the pyros applications.
---
h2. %{margin-left:0px; font-weight:bold; font-size:25px; display:block; color:red;}pyrosapp%
h3. Purpose
* Contains all the database Models
* Basic tests in tests.py
* Backoffice configuration in admin.py
h3. Notes
* Will be progressively deleted while models being displaced
---
h2. %{margin-left:0px; font-weight:bold; font-size:25px; display:block; color:red;}dashboard%
h3. Purpose
* Interface for all external users
* Leads to displays and actions for all the pyros modules (users, requests, system execution, ...)
h3. Evolution
* Creating application
* manage.py startapp dashboard
* add 'dashboard' in settings.py -> INSTALLED_APPS
* create a urls.py file in dashboard module
* add _url(r'^dashboard/', include('dashboard.urls'))_ in pyros/urls.py -> urlpatterns
* create templates/ and templates/dashboard/ folders in dashboard module
h3. Notes
* The buttons lead to the Admin interface for the moment
h3. TODO
* Create the backoffice views as the modules are integrated in pyros
* Think about a system of permissions
---