django use same view for get and post with query params code example Example: django get parameters from url message = request.GET.get('message')