Fix limit
This commit is contained in:
parent
09865db08a
commit
ba1ce67444
|
|
@ -178,7 +178,7 @@ def get_legacy_data(card):
|
|||
"""Одиночное поле"""
|
||||
legacy_fields.append(legacy_field[0])
|
||||
|
||||
queryset = legacy_model.objects.only(*legacy_fields).limit(50) #TODO: remove after debug
|
||||
queryset = legacy_model.objects.only(*legacy_fields)[:50]# TODO: remove after debug
|
||||
|
||||
# Возвращаем зависимости на место
|
||||
if relations:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user