ibm-developer-skills-network / agfzb-CloudAppDevelopment_Capstone

Apache License 2.0
23 stars 2.97k forks source link

updates made for lab to run without 'CSRF errors' #176

Closed Sklup55 closed 10 months ago

Sklup55 commented 10 months ago

Below updates required to run the Week 5 K8S deployment lab correctly (without CSRF error)

  1. Below line has been removed

-> 'django.middleware.csrf.CsrfViewMiddleware',

  1. ALLOWED_HOSTS section - codes updated

  2. CSRF_TRUSTED_ORIGINS section - code newly added