12.1. pyscaler Project
This is the Django project folder
12.1.2. dashboard Module
This module is used by the Grappelli module and is used to configure the main dashboard of the administration pages.
-
class pyscaler.dashboard.CustomIndexDashboard(**kwargs)
Bases: grappelli.dashboard.dashboards.Dashboard
Grappelli custom index dashboard
12.1.3. settings Module
This module contains de Django project settings that will be applied application wide.
12.1.4. startup Module
12.1.5. urls Module
This file contains the URL definitions for the PyScaler project. It delegates the urls of each module to its own urls file.
Available URLs:
- / This url definition is implemented in pyscaler.views.index and is shows the homepage
- /admin This url goes to the Django native adminstration pages
- /account This url definition is an included for the urls to be implemented in the account module
- /grappelli This url definition is an included for the urls to be implemented in the grappelli module
- /monitoring This url definition is an included for the urls to be implemented in the monitoring module
- /control This url definition is an included for the urls to be implemented in the control module
- /actions This url definition is an included for the urls to be implemented in the actions module
- /administration This url definition is implemented in pyscaler.views.administration and integrated Django admin pages into Pyscaler user interface
12.1.6. views Module
-
pyscaler.views.administration(request, *args, **kwargs)
This view integrates the native django admin pages into PyScaler’s user interface.
12.1.7. wsgi Module
WSGI config for pyscaler project.