[Fixed]-Django – create gallery, then add photos to gallery

1👍

If you not attaching id , then write view as

def photo_upload(request, id=None):

OR

"{% url 'photo_upload' id %}" #id if you are attaching /id in url.

Your photo_upload view needs parameter id

Leave a comment