Opened 11 years ago

Closed 11 years ago

#4688 closed (fixed)

startproject breaks if django files are read-only (

Reported by: tstromberg@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version: master
Severity: Keywords: read-only
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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 and adds a secret key to it, but does not check to see if 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)

django-core-management.patch (850 bytes) - added by tstromberg@… 11 years ago.
Patch to check and fix permissions on if necessary

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by tstromberg@…

Patch to check and fix permissions on if necessary

comment:1 Changed 11 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [5593]) Fixed #4688 -- startproject no longer breaks when Django files are read-only. Thanks, tstromberg@… and Google guys

Note: See TracTickets for help on using tickets.
Back to Top