Portfolio
The Portfolio app provides the core interface to equinox user data.
Portfolio Views
- class portfolio.views.AssetList(**kwargs)
List all assets sequentially with common action buttons Also generation options at the end
- get_context_data(**kwargs)
Get the context for this view.
- model
alias of
ProjectAsset
- template_name = 'asset_list.html'
- class portfolio.views.AssetMapView(**kwargs)
Asset Markers Map view.
- template_name = 'asset_map.html'
Portfolio Management Commands
map_cpv_to_cpa
Example Workflow with Management Commands
python3 manage.py load_pr
python3 manage.py associate_sources
python manage.py map_cpv_to_cpa
python manage.py compute_emissions