Skip to content

Commit

Permalink
Merge pull request #29 from kartoza/update-site-prefs-admin
Browse files Browse the repository at this point in the history
update-site-prefs-admin
  • Loading branch information
danangmassandy authored May 2, 2024
2 parents 13240c7 + 6521676 commit c1cc9e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions django_project/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ class SitePreferencesAdmin(admin.ModelAdmin):
'api_config',
)
}),
('Output Group to Keep', {
'fields': (
'output_group_to_keep',
)
}),
)


Expand Down
3 changes: 2 additions & 1 deletion django_project/cplus_api/api_views/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c1cc9e9

Please sign in to comment.