Add support for deleting ad hoc commands. Fixes https://trello.com/c/WLnhi28V

This commit is contained in:
Chris Church
2015-05-11 20:14:15 -04:00
parent d730859575
commit 9e898bf42a
3 changed files with 21 additions and 10 deletions

View File

@@ -2358,7 +2358,7 @@ class HostAdHocCommandsList(AdHocCommandList, SubListCreateAPIView):
relationship = 'ad_hoc_commands'
class AdHocCommandDetail(RetrieveAPIView):
class AdHocCommandDetail(RetrieveDestroyAPIView):
model = AdHocCommand
serializer_class = AdHocCommandSerializer