Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Bryan Turek
    Hey anyone there that could help me out?
    I'm trying to add a multiple select elment that operates efficiently on a manytomany relation
    Bryan Turek
    @all can anyone point me in the right direction?
    Alexandre Boukhlif
    Hi everyone, is someone around ?
    Dmytro Kyrychuk

    Hi all,
    Here is my view:

    class MediaFileUploadView(views.APIView):
        parser_classes = (parsers.FileUploadParser,)
        def post(self, request, filename, format=None):
            return Response(status=status.HTTP_204_NO_CONTENT)

    I get the 405 Method Not Allowed response whenever I try to make a POST request to this view. Does anyone know what's wrong with the view?


    Alexandre Boukhlif
    Hi @orgkhnargh , are you sure about the signature of the post method ?
    @orgkhnargh , I don't think the filename parameter should be here.
    Dmytro Kyrychuk
    False alarm. Misspelled url =/
    Someone here ?