In [2]:
from myapp.views import CarUpdateView
In [3]:
c=CarUpdateView
In [5]:
dir(c)
Out[5]:
['__class__',
'__delattr__',
'__dict__',
'__doc__',
'__format__',
'__getattribute__',
'__hash__',
'__init__',
'__module__',
'__new__',
'__reduce__',
'__reduce_ex__',
'__repr__',
'__setattr__',
'__sizeof__',
'__str__',
'__subclasshook__',
'__weakref__',
'_allowed_methods',
'as_view',
'content_type',
'context_object_name',
'dispatch',
'fields',
'form_class',
'form_invalid',
'form_valid',
'get',
'get_context_data',
'get_context_object_name',
'get_form',
'get_form_class',
'get_form_kwargs',
'get_initial',
'get_object',
'get_prefix',
'get_queryset',
'get_slug_field',
'get_success_url',
'get_template_names',
'http_method_names',
'http_method_not_allowed',
'initial',
'model',
'options',
'pk_url_kwarg',
'post',
'prefix',
'put',
'query_pk_and_slug',
'queryset',
'render_to_response',
'response_class',
'slug_field',
'slug_url_kwarg',
'success_url',
'template_engine',
'template_name',
'template_name_field',
'template_name_suffix']
In [ ]:
Content source: wasit7/tutorials
Similar notebooks: