diff --git a/django_project/core/admin.py b/django_project/core/admin.py index d487391..0b9292f 100644 --- a/django_project/core/admin.py +++ b/django_project/core/admin.py @@ -15,6 +15,11 @@ class SitePreferencesAdmin(admin.ModelAdmin): 'api_config', ) }), + ('Output Group to Keep', { + 'fields': ( + 'output_group_to_keep', + ) + }), ) diff --git a/django_project/cplus_api/api_views/output.py b/django_project/cplus_api/api_views/output.py index 8544998..5e274ef 100644 --- a/django_project/cplus_api/api_views/output.py +++ b/django_project/cplus_api/api_views/output.py @@ -47,7 +47,8 @@ class UserScenarioAnalysisOutput(BaseScenarioReadAccess, APIView): tags=[SCENARIO_OUTPUT_API_TAG], manual_parameters=[ PARAM_SCENARIO_UUID_IN_PATH, - param_all_outputs + param_all_outputs, + param_group ] + PARAMS_PAGINATION, responses={ 200: PaginatedOutputLayerSerializer,