[WIP]Method summary in class-based view
Posted on 6月 18, 2017 in Python
Method Flowchart | View | TemplateView | RedirectView | DetailView | ListView | ||
---|---|---|---|---|---|---|---|
dispatch() | the method that accepts a request argument plus arguments, and returns a HTTP response | 1 | |||||
http_method_not_allowed() | 2 | ||||||
options() | 3 | ||||||
get_context_data() | |||||||
get_redirect_url() | |||||||
get_template_names() | ✔ | ||||||
get_slug_field() | |||||||
get_queryset() | |||||||
get_object() | ✔ | ||||||
get_context_object_name() | |||||||
get_context_data() | |||||||
get() | ✔ | ||||||
render_to_response() | |||||||
get_queryset() |