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

Use environment variable DJANGO_SETTINGS_MODULE. #602

Closed
wants to merge 3 commits into from

Conversation

nferrari
Copy link

After encountering a problem I found in some issues (fixes #333, fixes #273), I decided to make some investigation. The suggestion made by @panosmm (#333 (comment)) seemed fine to me, but then I went in the django-appconf documentation, and found the following:

"In case you want to use a different settings object instead of the default 'django.conf.settings', set the holder attribute of the inner Meta class to a dotted import path."

Thus, I think django-compressor should use this holder attribute. I made this PR, allowing django-compressor to use the DJANGO_SETTINGS_MODULE defined in our projects.

@carltongibson
Copy link
Contributor

As per comment on #333, the relevant place for this looks to be django-compressor/django-appconf#13. We should close this in favour of a resolution there.

@diox
Copy link
Member

diox commented Jun 30, 2015

Closing per previous comment.

@diox diox closed this Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants