Opened 17 years ago
Closed 17 years ago
#4688 closed (fixed)
startproject breaks if django files are read-only (settings.py)
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Keywords: | settings.py read-only | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
We keep all of our dependencies, including Django, in a local revision control repository. In our system, all files are stored read-only unless you have them checked out for edit. Django startproject makes a copy of settings.py and adds a secret key to it, but does not check to see if settings.py is writeable beforehand. I've attached a patch that we will be using in our internal copy of Django, which is against an SVN checkout from today.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | django-core-management.patch added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch to check and fix permissions on settings.py if necessary