django view function notes

View function:

  1. The first argument must be a function of the view request. This parameter must not be less.
  2. The view function return value must be django.http.response.HttpResponseBasean object subclass.

Guess you like

Origin www.cnblogs.com/jin-ting/p/11758215.html