]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/exporter/settings.py
Applies patches by Justing Grant. Makes several improvements in the db exporter.
[osqa.git] / forum_modules / exporter / settings.py
1 import os
2
3 from django.conf import settings as djsettings
4 from forum.settings.base import Setting, SettingSet
5 from django.utils.translation import ugettext_lazy as _
6
7 EXPORTER_SET = SettingSet('exporter', _('Exporter settings'), _("Data export settings"), 800)
8
9 EXPORTER_BACKUP_STORAGE = Setting('EXPORTER_BACKUP_STORAGE', os.path.join(os.path.dirname(__file__), 'backups'), EXPORTER_SET, dict(
10 label = _("Backups storage"),
11 help_text = _("A folder to keep your backups organized.")))