FJW's blog

Menu Close
  • Home
  • Archives
  • Categories

Django

09/18/2017 Web Application Development

1. CSRF

  • {% csrf_token %}

2. django.contrib.auth

1.

  • URL to use if the authentication system requires a user to login
    LOGIN_URL='/login'
  • Default URL to redirect to after a user logs in
    LOGIN_REDIRECT_URL='/'

2.

  • action="{% url 'django.contrib.auth.views.login' %}"
Web Application Development

Prev
CV_Filtering and Sampling
Next
CV_Features
Contents
  1. 1. 1. CSRF
  2. 2. 2. django.contrib.auth
© 2017-2025 upbad.com All Rights Reserved.