burke-software / django-mass-edit

Make bulk changes in the Django admin interface
152 stars 67 forks source link

Support not only numeric object ids #27

Closed ttyS15 closed 9 years ago

ttyS15 commented 10 years ago

Now, regular expression looks like

^admin/ (?P<app_name>[^/]+)/(?P<model_name>[^/]+)-masschange/(?P<object_ids>[0-9,]+)/$

so mass edit does not work with models using non-numeric primary key.

bufke commented 10 years ago

Sounds easy to fix - could you confirm this and ideally send a pull request?

^admin/ (?P<app_name>[^/]+)/(?P<model_name>[^/]+)-masschange(?P<object_ids>\w+)/$

bufke commented 9 years ago

This is fixed