« Previous -
Version 8/60
(diff) -
Next » -
Current version
Paul Carensac, 04/11/2016 05:20 pm
Pyros applications¶
List and details of all the pyros applications.
pyrosapp¶
Purpose¶
- Contains all the database Models
- Basic tests in tests.py
- Backoffice configuration in admin.py
Notes¶
- Will be progressively deleted while models being displaced
dashboard¶
Purpose¶
- Interface for all external users
- Leads to displays and actions for all the pyros modules (users, requests, system execution, ...)
Evolution¶
- Creating application
- manage.py startapp dashboard
- added 'dashboard' in settings.py -> INSTALLED_APPS
- created a urls.py file in dashboard module
- added url(r'^dashboard/', include('dashboard.urls')) in pyros/urls.py -> urlpatterns
- created templates/ and templates/dashboard/ folders in dashboard module
- Main page
- added 'home' view in views.py
- linked 'home' view to 8000/dashboard URL
- created a template for the homepage in templates/dashboard/ (with bootstrap)
- created views, views linking (urls.py) and templates for the dashboard modules
- redirected mainpage buttons to Admin interface (temporary)
Notes¶
- The buttons lead to the Admin interface for the moment
- Added bootstrap3 module (see Installation)
- Added Django Template Editor (see Eclipse configuration)
TODO¶
- Create the backoffice views as the modules are integrated in pyros
- Think about a system of permissions
scheduler¶
Purpose¶
- Creates the planning with the OBSERVABLE sequences
- Give acces to a web page to see the current planning
Evolution¶
- Creating application
- manage.py startapp scheduler
- added 'scheduler' in settings.py -> INSTALLED_APPS
- created a urls.py file in scheduler module
- added url(r'^scheduler/', include('scheduler.urls')) in pyros/urls.py -> urlpatterns
- created templates/ and templates/scheduler/ folders in scheduler module
- ...
Notes¶
- Priorities and quotas are default-calculated (for the moment)
- What is the 'flag' attribute in the Schedule model ? *