Changeset 2370 for trunk/locker/deploy/bin/django
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/locker-dev merged: 2369
- Property svn:mergeinfo changed
-
trunk/locker
- Property svn:mergeinfo changed
/branches/locker-dev/locker merged: 2369
- Property svn:mergeinfo changed
-
trunk/locker/deploy/bin/django
r2368 r2370 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.