I am editing the existing project and i am new in django.
This is written in url file
url(r'^test/$', views.MyUpdate.as_view(model=models.User,
form_class=forms.UserForm), name='user_update'),
Now i want to know that how can i access those variables in my view
https://docs.djangoproject.com/en/dev/topics/class-based-views/
Class atrributes of UpdateView
http://ccbv.co.uk/projects/Django/1.4/django.views.generic.edit/UpdateView/
Basically you are overriding those attributes , hence they get filled automatically