Commits

Matthew Schinckel committed b756c60

Use http.NoContent instead of http.OK on deletions.

  • Participants
  • Parent commits 7a23d8d

Comments (0)

Files changed (2)

File repose/mixins.py

             raise http.Forbidden()
         obj.deleted = True
         obj.save()
-        return http.OK()
+        return http.NoContent()
 
 ###
 #

File repose/views.py

             raise http.Forbidden(_(u"You may not delete that object."))
         with log_action(request.user, obj, DELETION):
             obj.delete()
-        return http.OK()
+        return http.NoContent()