You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from django.conf import settings
|
|
|
|
|
|
|
|
__version__ = '0.2.0'
|
|
|
|
VERSION = tuple(int(d) for d in __version__.split('.'))
|
|
|
|
|
|
|
|
|
|
|
|
USE_TRANSLATABLE_FIELDS = (
|
|
|
|
getattr(settings, 'CONTENT_PLUGINS_USE_TRANSLATABLE_FIELDS', False) or
|
|
|
|
getattr(settings, 'USE_TRANSLATABLE_FIELDS', False)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# TODO Implement translatable AutoSlugField: USE_TRANSLATABLE_SLUG_FIELDS = getattr(settings, 'CONTENT_USE_TRANSLATABLE_SLUG_FIELDS', True)
|