[Answered ]-How to Pass Id Here (error put() missing 1 required positional argument: 'request') In form template Django

1👍

You are defining a simple function, not a method in a class, you thus should remove the self parameter:

# no self ↓
def put(request, id):
    # …

Note that what you are doing with the choice_forms is basically what a FormSet does [Django-doc].

Leave a comment