Solutionunvalidated

path('user_payment_menu/<int:pk>/<str:date>',user_payment_menu, name='user_payment_menu'), — pass date and id through url in django. Tension: when I add date after a slash I am getting an error. Outcome: reverse('user_payment_menu', args=[1, str(date.today()]).

7cb91348-0d7b-41b8-90e7-48ce58ed0527

path('user_payment_menu/int:pk/str:date',user_payment_menu, name='user_payment_menu'), — pass date and id through url in django. Tension: when I add date after a slash I am getting an error. Outcome: reverse('user_payment_menu', args=[1, str(date.today()]).