Changes between Version 3 and Version 4 of Ticket #35414, comment 6


Ignore:
Timestamp:
Apr 30, 2024, 5:22:29 AM (7 months ago)
Author:
설원준(Wonjoon Seol)/Dispatch squad

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35414, comment 6

    v3 v4  
    3535        return self.get_response(request)
    3636}}}
     37
     38mysite/settings.py
     39{{{
     40MIDDLEWARE = [
     41    'django.middleware.security.SecurityMiddleware',
     42    'django.contrib.sessions.middleware.SessionMiddleware',
     43    'django.middleware.common.CommonMiddleware',
     44    'django.middleware.csrf.CsrfViewMiddleware',
     45    'django.contrib.auth.middleware.AuthenticationMiddleware',
     46    'django.contrib.messages.middleware.MessageMiddleware',
     47    'django.middleware.clickjacking.XFrameOptionsMiddleware',
     48    'middleware.JWTMiddleware' # <-
     49]
     50}}}
     51
    3752
    3853**polls/tests.py**
Back to Top