def form_valid(self, form):
    phonenumber = self.request.POST.get('mobile_number')
unique = self.request.POST.get('unique')
Calling a special (non-HTTP) URL from the form_valid method of a Django class-based view