Django: Obtenha o url atual ao iniciar um widget no formulário

Eu quero pegar o url atual quando eu iniciar o meu formulário para encontrar dentro de uma string que eu quero verificar. Dependendo desta string, quero alterar os dados que coloco em um widget de radioselecção. Gostaria de exibir diferentes opções de radioselecção, dependendo do URL.

class FunctionForm(forms.ModelForm):

def __init__(self, *args, **kwargs):

    # get url
    url=request.get_full_path
    # treat url
    string = treat_url(url)

    if (string=='ATC'):
        self.fields['function_name'].queryset= FUNCTION_ATC_CHOICES
    if (string=='ATS'):
        self.fields['function_name'].queryset= FUNCTION_ATS_CHOICES

    super(FunctionForm,self).__init__(*args,**kwargs)
    #function_name = forms.ChoiceField(widget=RadioSelect,choices=FUNCTION_ATC_CHOICES) 

class Meta :
    model = Function
    exclude =('session_number')

Minha visão :

def add_function (request)
if request.method == 'POST': # If the form has been submitted...
    function_form = FunctionForm(request.get_full_path,request.POST)

questionAnswers(1)

yourAnswerToTheQuestion