In my conf url, I have multiple urls that have the same named parameter, user_id . Is it possible to access this parameter either in middleware - so that I can outline it in general in context_data or in the template itself?
An example conf url to illustrate the question:
url(r'^b/(?P<user_id>[0-9]+)/edit?$', user.edit.EditUser.as_view(), name='user_edit'),
url(r'^b/(?P<user_id>[0-9]+)/delete?$', user.delete.DeleteUser.as_view(), name='user_delete')
source
share