-# -*- coding: utf-8 -*-
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
MEDIA_ROOT=tempfile.mkdtemp(prefix='djangotest_'),
CATALOGUE_DONT_BUILD={'pdf', 'mobi', 'epub', 'txt', 'fb2', 'cover'},
NO_SEARCH_INDEX=True,
- CELERY_ALWAYS_EAGER=True,
+ CELERY_TASK_ALWAYS_EAGER=True,
CACHES={
'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'},
},
""" generate some keywords for comfortable BookInfoCreation """
slug = str(slugify(title))
if language is None:
- language = u'pol'
+ language = 'pol'
return {
'title': str(title),
'url': WLURI.from_slug(slug),
- 'about': u"http://wolnelektury.pl/example/URI/%s" % slug,
+ 'about': "http://wolnelektury.pl/example/URI/%s" % slug,
'language': language,
}