Last change
on this file since 9658 was 9567, checked in by rick, 13 years ago |
Make development on local en remote host whole bunch more easy.
|
File size:
355 bytes
|
Rev | Line | |
---|
[9567] | 1 | import sys
|
---|
| 2 |
|
---|
| 3 | if 'runserver' in sys.argv:
|
---|
| 4 | DJANGO_PREFIX = ''
|
---|
| 5 | DJANGO_CDN_DOMAINS = ['localhost:8000']
|
---|
| 6 |
|
---|
| 7 | DEBUG=True
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | DATABASES = {
|
---|
| 11 | 'default': {
|
---|
| 12 | 'ENGINE': 'django.db.backends.mysql',
|
---|
| 13 | 'NAME': 'project_heatmap',
|
---|
| 14 | 'USER': 'MYUSERNAME',
|
---|
| 15 | 'PASSWORD': 'MYPASSWORD',
|
---|
| 16 | 'HOST': 'localhost',
|
---|
| 17 | 'PORT': '3306',
|
---|
| 18 | }
|
---|
| 19 | }
|
---|
| 20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.