Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Bryan Turek
    @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
    @Bryan-Turek
    @all can anyone point me in the right direction?
    Alexandre Boukhlif
    @blokfyuh
    Hi everyone, is someone around ?
    Dmytro Kyrychuk
    @dmytrokyrychuk

    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?

    Thanks.

    Alexandre Boukhlif
    @blokfyuh
    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
    @dmytrokyrychuk
    False alarm. Misspelled url =/
    Thanks
    Sami
    @sboudouk
    Hello
    Someone here ?