forked from geosolutions-it/geonode-mapstore-client
-
Notifications
You must be signed in to change notification settings - Fork 125
Description
Description
The idea is to introduce a new feature for managing MapStore extensions directly from the GeoNode Django admin interface. It allows administrators to upload, update, configure, and delete extensions without needing to manually manage static files.
Key Changes
- Extension Model: A new Django model stores extension metadata, including its name, status, and file path.
- Django Admin Interface: A user-friendly admin panel is added for full CRUD (Create, Read, Update, Delete) management of the extensions.
- Automated File Handling: Uses Django signals (
post_save,post_delete) to automatically unzip uploaded archives into the static directory and clean them up upon deletion. - A custom admin form (
ExtensionAdminForm) provides user-friendly validation to prevent uploading extensions with duplicate names.
Screenshots
Django Admin View with the error message showing the duplicate name
