class LocationMunicipality(models.Model):
name = models.TextField(blank=False, primary_key=True)
obj = LocationMunicipality(name='Carlow/Mayo')
obj.save()
Mass admin will raise the following, if we will try to open one particular object, or several objects at once:
NoReverseMatch
Reverse for 'massadmin_change_view' with keyword arguments '{'app_name': 'location', 'model_name': 'locationmunicipalitydistrict', 'object_ids': 'Carlow/Mayo'}' not found. 1 pattern(s) tried: ['admin/(?P<app_name>[^/]+)/(?P<model_name>[^/]+)\\-masschange/(?P<object_ids>[^/]+)/\\Z']
The problem can be seen here:
Value not quoted as expected by django admin.
Django admin use own pk quotation quote function from: django.contrib.admin.utils
Mass admin will raise the following, if we will try to open one particular object, or several objects at once:
The problem can be seen here:![Screenshot_20230919_111812](https://github.com/burke-software/django-mass-edit/assets/1916759/2e480ddc-74c6-47d3-b835-491525d97e81)
Value not quoted as expected by django admin.
Django admin use own pk quotation
quote
function from:django.contrib.admin.utils
Patch coming soon.