Opened 19 years ago
Closed 19 years ago
#904 closed enhancement (fixed)
[PATCH] If DJANGO_SETTINGS_MODULE is not set, walk the filesystem for settings-file before bailing
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
As discussed on the django-dev mailinglist. Currently the translation stuff uses the DJANGO_SETTINGS_MODULE env. var to key off the projectname. I've solved this in the patch by keying of the settings.ROOT_URLCONF instead. How project identification should be handled might be a good topic for further discussion...
Attachments (2)
Change History (4)
by , 19 years ago
Attachment: | django-env.diff added |
---|
by , 19 years ago
Attachment: | django-env_w_sympathy4win.diff added |
---|
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The new manage.py thing solves this problem in a different way, so I'm closing.
Note:
See TracTickets
for help on using tickets.
latest diff is with untested windows compatible paths