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