mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-17 03:31:09 +00:00
Fix flake8
This commit is contained in:
parent
5feff41795
commit
47cc2cb1b7
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class TranslationField(object):
|
|||
self.rel = copy.copy(self.rel) # Since fields cannot share the same rel object.
|
||||
# self.related doesn't need to be copied, as it will be recreated in
|
||||
# ``RelatedField.do_related_class``
|
||||
|
||||
|
||||
if self.rel.related_name is None:
|
||||
# For implicit related_name use different query field name
|
||||
loc_related_query_name = build_localized_fieldname(
|
||||
|
|
|
|||
Loading…
Reference in a new issue