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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user