Closed namanshenoy closed 7 years ago
Why is this method better than? https://github.com/burke-software/django-mass-edit/blob/32e6dbe1255e6c2ed04bfbfc54d20467003ebdec/massadmin/__init__.py#L31
Does that init thing no longer work from a Django change?
Yeah it didn't work when I tried. Might have something to do with template loaders.
I'd rather have the action just magically appear. Maybe try to figure out why it's not working for you and see if there is a alternative.
Sounds good! Will make another PR, but for now I think the readme change is necessary because it does not work out of the box at all with the new django changes
On Wed, Apr 19, 2017 at 17:47 David Burke notifications@github.com wrote:
I'd rather have the action just magically appear. Maybe try to figure out why it's not working for you and see if there is a alternative.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/burke-software/django-mass-edit/pull/69#issuecomment-295458300, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7GthXdT0bkZESRxUVJgsPGaHrWtXPNks5rxoDqgaJpZM4Mu3lL .
Besides, you need to add the urls anyway, so adding another line to the same file isn't really any different
I'm against adding speculation on a project's readme. If you find a way to make it "just work" or a specific reason on why the "just works" method isn't working for you we could add it to the readme. For that I'd like to see documentation proving that Django does not allow apps adding admin actions automatically.
If I had to guess - we probably just need to move the logic to somewhere like here.
Added code to get django-mass-edit working on Django 1.9+