Opened 14 years ago
Closed 14 years ago
#14889 closed (wontfix)
Usability improvement to csrf_migration_helper
Reported by: | frankvillasenor | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | csrf_migration_helper, csrf, csrf migration | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The csrf_migration_helper.py couldn't find my settings file. I found that "." wasn't on my sys.path. I made a small modification to the csrf_migration_helper to go ahead and add "." to the path. While I realize I may not have been using the program quite as expected, I figure that if I ran in to this, others will and this is a quick fix.
Hopefully this is helpful.
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | curr_dir--csrf_migration_helper.patch added |
---|
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I disagree that munging PYTHONPATH or sys.path is a good thing to be doing here. Having a settings file that is found in one circumstance but not others just serves to add to the confusion of what the PYTHONPATH/sys.path is, or should be.
patch file with the additions I described in the ticket.