Answer the question
In order to leave comments, you need to log in
How to pass two arguments by reference?
I need to pass two id
's, one is the user's id and the second is the id of the page to return to.
path('<int:page_id>/<int:user_id>/add/', views.add, name = 'add')
def add(request,page_id, user_id):
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question