How blacknight3648/gestion-proyectos works
SGP is a Django project-management and change-control application. Users sign in through Okta/Auth0, then directors or read-only team members work with project plans, resources, change requests, and dashboards. The main domain flow covers WBS planning, dependency-based scheduling, resource/cost oversight, and formal change propagation; KPI calculations summarize project and change performance. The source index and excerpts establish the principal service calls, but many view details and subsystem implementations were not sampled, so unsupported links are omitted.
Main entry points: gestion/views.py Project Views · models.py Project Domain · urls.py Site Router · webappexample/views.py SSO Views
Components 18
Access and Routing
- Site Router
webappexample/webappexample/urls.py - SSO Views
webappexample/webappexample/views.py - Role Authorization
webappexample/gestion/services/auth_service.py - Auth Middleware
webappexample/gestion/middleware.py - Business Routes
webappexample/gestion/urls.py
Project Planning
- Project Domain
webappexample/gestion/models.py - WBS Engine
webappexample/gestion/services/wbs_service.py - Precedence Engine
webappexample/gestion/services/precedencias_service.py - Demo Data Seeder
webappexample/gestion/management/commands/seed_demo_data.py
Project Operations
- Resource Analysis
webappexample/gestion/services/recursos_service.py
Change Control
- Change Propagation
webappexample/gestion/services/propagacion_service.py
Analytics and UI
- Project Views
webappexample/gestion/views.py - KPI Engine
webappexample/gestion/services/kpi_service.py - Project Dashboards
webappexample/gestion/views.py - Web Interface
webappexample/webappexample/templates/gestion
Other components
- Project User
- Okta / Auth0
- SQLite Database
Connections 25
- Project User → Site Router: opens app
webappexample/webappexample/urls.py - Site Router → SSO Views: routes auth
webappexample/webappexample/urls.py - Site Router → Business Routes: includes routes
webappexample/webappexample/urls.py - SSO Views → Okta / Auth0: OIDC exchange
webappexample/webappexample/views.py - SSO Views → Role Authorization: checks identity
webappexample/webappexample/views.py - Auth Middleware → Role Authorization: checks roles
webappexample/gestion/middleware.py - Business Routes → Project Views: routes requests
webappexample/gestion/urls.py - Project Views → Role Authorization: checks permissions
webappexample/gestion/views.py - Project Views → Project Domain: reads and writes
webappexample/gestion/views.py - Project Domain → SQLite Database: persists records
README.md - Project Views → WBS Engine: builds WBS
webappexample/gestion/views.py - Project Views → Precedence Engine: recalculates dates
webappexample/gestion/views.py - Project Views → Resource Analysis: checks allocation
webappexample/gestion/views.py - Project Views → Change Propagation: advances changes
webappexample/gestion/views.py - Project Views → KPI Engine: calculates metrics
webappexample/gestion/views.py - Change Propagation → Precedence Engine: recalculates cascade
webappexample/gestion/services/propagacion_service.py - WBS Engine → Project Domain: reads hierarchy
- Precedence Engine → Project Domain: reads dependencies
webappexample/gestion/services/precedencias_service.py - Resource Analysis → Project Domain: reads assignments
webappexample/gestion/services/recursos_service.py - Change Propagation → Project Domain: updates impacts
webappexample/gestion/services/propagacion_service.py - KPI Engine → Project Domain: reads measures
webappexample/gestion/services/kpi_service.py - Project Views → Demo Data Seeder: loads demo
webappexample/gestion/views.py - Project Views → Project Dashboards: renders dashboards
README.md - Project Dashboards → Web Interface: renders views
- Project User → Web Interface: views interface