You have a URL which accepts a first_name and last_name in Django:
(\'^(?P[a-zA-Z]+)/(?P[a-zA-Z]
In case your are looking for multiple optional arguments, without any required ones, just omit "/" at the beginning, such as:
re_path(r'^view(?:/(?P[a-zA-Z]+))?(?:/(?P[a-zA-Z]+))?(?:/(?P[a-zA-Z]+))?/$', views.MyView.as_view(), name='myname'),
which you can browse at:
http://localhost:8000/view/?dummy1=value1&dummy2=value2&dummy3=value3