Skip to content

Conversation

@mm534
Copy link
Contributor

@mm534 mm534 commented Jan 18, 2024

Addresses #549

There might be some neater options than just swallowing the exception, but I've tried to keep the change minimal.

Alternatives -

  • DJANGO_ALLOWED_HOSTS could override rather than extend, but that would be a breaking change.
  • We could introduce another env var to override the default behavior.

@maxking
Copy link
Owner

maxking commented Jan 22, 2024

This looks fine, fewer env vars to document are better. DJANGO_ALLOWED_HOSTS already exists, so no need add another one for just specifying the name of the container.

Thanks for your contribution!

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.

2 participants