Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

Sklup55
Copy link
Contributor

@Sklup55 Sklup55 commented Jan 3, 2024

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

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',

2. ALLOWED_HOSTS section - codes updated

3. CSRF_TRUSTED_ORIGINS section - code newly added
@lavskillup lavskillup merged commit 9803c53 into ibm-developer-skills-network:master Jan 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants