1👍
✅
You can’t, I’m afraid. The query string is stripped from the URL before any of the regex in your urlconf is matched.
I think your going to have to process the string in your view.
if 'a' in request.GET:
if request.GET['a'] == 'upload':
#...
elif request.GET['a'] == 'gettriplist':
#...
Source:stackexchange.com