Skip to content

requirements: use django-cors-headers instead #8713

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

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion readthedocs/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def DATABASES(self): # noqa
# 127.0.0.1 test
# and navigate to http://test:8000
CORS_ORIGIN_WHITELIST = (
'test:8000',
'http://test:8000',
)

# Disable auto syncing elasticsearch documents in development
Expand Down
4 changes: 1 addition & 3 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ dj-pagination==2.5.0
# Version comparison stuff
packaging==21.3

# django-cors-middleware==1.5.0 fails with
# AttributeError: 'dict' object has no attribute 'has_header'
django-cors-middleware==1.4.0 # pyup: ignore
django-cors-headers==3.11.0

# User agent parsing - used for analytics purposes
user-agents==2.2.0
Expand Down