1.post request to bring {% csrf_token%}
2.python simultaneously determined using a plurality of values all (), which enclose a list
3.django built-in user, you can call directly create_user ()
4. If you can not guarantee the correct configuration, the first to write a variety of path is absolute
The reverse lookup redirect +
6. The judge mailbox regular expression:
^ [A-Z0-9] [\ w \. \ -] * @ [a-Z0-9 \ -] + (\. [Az] {2,5}) {1,2} $
7. a request corresponds to two different processing functions can be used to check or get post requests. Class View can also be used. Inherit the view class in django. The get and post requests request function corresponding functions are written to the get () and post (function).
Urls.py configuration corresponding to the request in view of the function called your name .as_view () function, name = view