Last change
on this file since 9057 was 9026, checked in by dennisw, 14 years ago |
django_gheat - werkt met database, transprancy gefixed
|
File size:
897 bytes
|
Rev | Line | |
---|
[9006] | 1 | # Let the developer to override generic values for the gheat settings
|
---|
| 2 | # Normally set on a localsettings.py file or the same settings.py of your
|
---|
| 3 | # home project
|
---|
[9026] | 4 | from django.conf import settings
|
---|
[9006] | 5 |
|
---|
| 6 | from os.path import dirname, abspath, join
|
---|
| 7 | # Default Gheat settings
|
---|
| 8 | GHEAT_BACKEND = getattr(settings, 'GHEAT_BACKEND','PIL')
|
---|
| 9 | GHEAT_ZOOM_OPAQUE=getattr(settings, 'GHEAT_ZOOM_OPAQUE', -1)
|
---|
| 10 | GHEAT_ZOOM_TRANSPARENT=getattr(settings, 'GHEAT_ZOOM_TRANSPARENT', 17)
|
---|
| 11 | GHEAT_FULL_OPAQUE=getattr(settings, 'GHEAT_FULL_OPAQUE', True)
|
---|
| 12 | GHEAT_BUILD_EMPTIES=getattr(settings, 'GHEAT_BUILD_EMPTIES', True)
|
---|
| 13 | GHEAT_ALWAYS_BUILD=getattr(settings, 'GHEAT_ALWAYS_BUILD', True)
|
---|
| 14 | GHEAT_DIRMODE = getattr(settings, 'GHEAT_DIRMODE', '0755')
|
---|
| 15 |
|
---|
| 16 | GHEAT_CONF_DIR = getattr(settings, 'GHEAT_CONF_DIR', join(dirname(abspath(__file__)), 'etc'))
|
---|
| 17 | GHEAT_MEDIA_ROOT = getattr(settings, 'GHEAT_MEDIA_ROOT', '/tmp/gheat/')
|
---|
| 18 | DEBUG = settings.DEBUG
|
---|
| 19 |
|
---|
| 20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.