code: def post(self, request, id=None, **kwargs):
          
          if id:
              # No posting to an object detail page
              return HttpResponseForbidden()
          else:
              if not self.has_add_permission(request):
                  return HttpResponseForbidden(_('You do not have permission to perform this action.'))
              else:
                  return self.add_object(request)
docs: Handles post requests.