Skip to content

Commit 799c894

Browse files
committed
remove no longer needed ALLOWED_HOSTS and disable XFrameOptionsMiddleware for local use
1 parent 77d0133 commit 799c894

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cc_legal_tools/settings/local.example.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
DEBUG = True
88

99
# Override settings here
10-
ALLOWED_HOSTS = ["*"]
10+
1111
# TRANSIFEX["API_TOKEN"] = "TRANSIFEX_API_TOKEN" # noqa: F405
1212
# TRANSLATION_REPOSITORY_DEPLOY_KEY = os.path.join(
1313
# os.path.expanduser("~"), ".ssh", "PRIVATE_KEY_NAME",
1414
# )
15+
16+
# Enable tools like Firefox Web Developer: View Responsive Layouts
17+
MIDDLEWARE.remove("django.middleware.clickjacking.XFrameOptionsMiddleware")

0 commit comments

Comments
 (0)