django-mongonaut
django-mongonaut copied to clipboard
has_delete_permissions doesn't work
I'd expect it to hide the delete button but it didn't. Is it supposed to work at this stage?
It should work. Sounds like a bug.
@pydanny the code doesn't seem to look at it in the view. See: https://github.com/pydanny/django-mongonaut/blob/master/mongonaut/templates/mongonaut/actions/action_buttons.html
Ah. It does here: https://github.com/pydanny/django-mongonaut/blob/master/mongonaut/templates/mongonaut/document_detail.html#L25-27
But not in your location. :tomato:
Well, if you want to fix this we accept pull requests. :earth_americas: