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

remove use of deprecated setup_environ #274

Closed
ptone opened this issue Oct 14, 2011 · 1 comment
Closed

remove use of deprecated setup_environ #274

ptone opened this issue Oct 14, 2011 · 1 comment
Assignees
Milestone

Comments

@ptone
Copy link

ptone commented Oct 14, 2011

as of the following changeset slated for Django 1.4:

https://code.djangoproject.com/changeset/16964

setup_environ is deprecated in favor of properly setting up the project on the pythonpath

in my brief testing, I was able to comment out the call to setup_environ, and I'm not sure that it is even doing much for gunicorn currently - as gunicorn already does a fair amount of magic around determining where the project is.

The changes noted above do not require 1.4 code, but is a step in enforcing sane project layout and location.

@ghost ghost assigned tilgovi Oct 17, 2011
@benoitc benoitc mentioned this issue Nov 17, 2011
benoitc added a commit that referenced this issue Feb 19, 2012
- handle new way to launch applications in django 1.4
- simplify the way we discover the project path and settings
- add --pythonpath & --settings options for django applications
- still compatible with older versions (>=1.1)
-handle DJANGO_SETTINGS_MODULE env.

close #283, #275, #274, #241
@benoitc
Copy link
Owner

benoitc commented Feb 19, 2012

fixed in cc43f89 . Thanks!

@benoitc benoitc closed this as completed Feb 19, 2012
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

No branches or pull requests

3 participants