recalculating only the new hanchans shoud do the trick now.

the racalc cronjob reports erronous partly recalculations now.
A lot of code cleanups
This commit is contained in:
2017-11-01 09:53:52 +01:00
parent ec8761b868
commit f3d44b743b
15 changed files with 87 additions and 62 deletions

View File

@@ -7,8 +7,8 @@ from django.utils.translation import ugettext as _
from content.models import Article
MAX_ARTICLE_ITEMS = 10 # Maximum count of articles in the news RSS feed.
MAX_COMMENT_ITEMS = 40 # Maximum count of comments in the comments RSS feed.
MAX_ARTICLE_ITEMS = 10 # Maximum count of articles in the news RSS feed.
MAX_COMMENT_ITEMS = 40 # Maximum count of comments in the comments RSS feed.
# Start ignoring PyLintBear (R0201)

View File

@@ -31,7 +31,7 @@ class WYSIWYGEditorMixin(PermissionRequiredMixin):
request, *args, **kwargs)
class ArticleArchiveMixin():
class ArticleArchiveMixin(object):
"""Mixin to add common context data to Views of the news archive."""
category = None