Fixed: ugettext has been deprecated
Fixed: Deprecatios for Django 4.0 Changed: path instead of url_path Added: fiaxateranking command
This commit is contained in:
@@ -237,8 +237,9 @@ class KyuDanRankingManager(models.Manager):
|
||||
|
||||
def update(self, since=None, until=None, force_recalc=False):
|
||||
old_attr = {'dan': None, 'dan_points': None,
|
||||
'kyu': None, 'kyu_points': None, 'won_hanchans': None,
|
||||
'good_hanchans': None, 'hanchan_count': None}
|
||||
'kyu': None, 'kyu_points': None,
|
||||
'won_hanchans': None, 'good_hanchans': None,
|
||||
'hanchan_count': None}
|
||||
for ranking in self.all():
|
||||
old_attr = {attr: getattr(ranking, attr) for attr in
|
||||
old_attr.keys()}
|
||||
|
||||
Reference in New Issue
Block a user