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

fix: correcting next var in pagination #281

Merged
merged 1 commit into from
Aug 6, 2024
Merged
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
8 changes: 8 additions & 0 deletions enterprise_subsidy/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
DEBUG = False
TEMPLATE_DEBUG = DEBUG

# IMPORTANT: With this enabled, the server must always be behind a proxy that
# strips the header HTTP_X_FORWARDED_PROTO from client requests. Otherwise,
# a user can fool our server into thinking it was an https connection.
# See
# https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header
# for other warnings.
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

Check warning on line 17 in enterprise_subsidy/settings/production.py

View check run for this annotation

Codecov / codecov/patch

enterprise_subsidy/settings/production.py#L17

Added line #L17 was not covered by tests

ALLOWED_HOSTS = ['*']

LOGGING = get_logger_config()
Expand Down
Loading