Changeset 2369 for branches/locker-dev/locker
- Timestamp:
- Feb 9, 2013, 5:19:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/bin/django
r2309 r2369 59 59 if (/Your Name/) { 60 60 $_ = " ('$USER', '$email'),"; 61 } elsif (/^DEBUG = /) { 62 $_ =~ s/DEBUG/import os\n\nDEBUG/; 61 63 } elsif (/'ENGINE'/) { 62 64 $_ = " 'ENGINE': 'django.db.backends.mysql',"; … … 64 66 $_ = " 'NAME': '$sqldb',"; 65 67 } elsif (/'USER'/) { 66 $_ = " ' USER': '$sqluser',";68 $_ = " 'OPTIONS': {\n 'read_default_file' : os.path.expanduser('~/.my.cnf'),\n },"; 67 69 } elsif (/'PASSWORD'/) { 68 $_ = " 'PASSWORD': '$sqlpass',";70 next; 69 71 } elsif (/'HOST'/) { 70 $_ = " 'HOST': '$sqlhost',";72 next; 71 73 } elsif (/Chicago/) { 72 74 $_ =~ s/Chicago/New_York/;
Note: See TracChangeset
for help on using the changeset viewer.