1👍
The address is structured this way because you add an object
of class Answer
. Anyway, look at how your url is constructed.
path('answer/reply/<int:answer_id>/', answer_views.reply_comment_create , name='reply_comment_create'),
If you want, check the SlugField which can be useful for create custom url
.
👤ttt
Source:stackexchange.com