Skip to content

Add new setting to expose hostname for base_url - #415

Merged
gerrod3 merged 1 commit into
pulp:masterfrom
gerrod3:base_url_setting
Aug 21, 2021
Merged

Add new setting to expose hostname for base_url#415
gerrod3 merged 1 commit into
pulp:masterfrom
gerrod3:base_url_setting

Conversation

@gerrod3

@gerrod3 gerrod3 commented Aug 12, 2021

Copy link
Copy Markdown
Contributor

fixes: #412

@gerrod3 gerrod3 added this to the 3.5.0 milestone Aug 12, 2021
Comment thread pulp_python/app/serializers.py Outdated
import tempfile

from django.core.files.storage import default_storage as storage
from dynaconf import settings

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this works, that's neat :)

But for consistency lets use from django.conf import settings

@gerrod3
gerrod3 merged commit ae9b769 into pulp:master Aug 21, 2021
@gerrod3
gerrod3 deleted the base_url_setting branch August 21, 2021 00:18
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.

base_url and reverse proxy, LB or else

2 participants