1👍
✅
You haven’t defined any param in user_index
url:
url(r'^users/$', view=UsersView.as_view(), name='users_index'),
It should be:
url(r'^users/(?P<ip>[\w.]+)$', view=UsersView.as_view(), name='users_index'),
If you want to use a GET query param, you could try:
<a href="{% url 'panel:users_index' %}?ip={{ip_entry.ip}}"></a>
Source:stackexchange.com