djangocms_blog/aldryn_config.py

12 lines
282 B
Python
Raw Normal View History

2016-06-02 22:05:49 +00:00
# -*- coding: utf-8 -*-
2017-03-18 23:04:32 +00:00
try:
from divio_cli import forms
except ImportError:
from aldryn_client import forms
2016-06-02 22:05:49 +00:00
class Form(forms.BaseForm):
def to_settings(self, data, settings):
settings['ADDON_URLS'].append('djangocms_blog.taggit_urls')
return settings