geodesign / django-raster

Django-raster allows you to create tiled map services (TMS) and raster map algebra end points for web maps. It is Python-based, and requires GeoDjango with a PostGIS backend.
BSD 3-Clause "New" or "Revised" License
96 stars 39 forks source link

Fixed ACTION_CHECKBOX_NAME reference in admin.py #64

Closed jonathanmiller2 closed 2 years ago

jonathanmiller2 commented 3 years ago

In Django release 3.1, the compatibility import admin.ACTION_CHECKBOX_NAME was removed. This was causing an error in admin.py whenever you try to manually edit the filepath for a layer from the admin page. The fix is just to change how ACTION_CHECKBOX_NAME is referenced.

Relevant Django update documentation: https://docs.djangoproject.com/en/3.2/releases/3.1/#id2