  from .person import Country, Friendship, Group, Membership, Person
  
  __all__ = [
      'Article', 'ArticleIdea', 'ArticleTag', 'ArticleTranslation', 'Country',
      'Friendship', 'Group', 'Membership', 'NewsArticle', 'Person',
  ]
 
</s> remove         sql = []
        alias_str = '' if self.table_alias == self.table_name else (' %s' % self.table_alias)
 </s> add  </s> remove             if index != 0:
                sql.append(' AND ')
            sql.append('%s.%s = %s.%s' % (
 </s> add             join_conditions.append('%s.%s = %s.%s' % ( </s> remove         sql.append('%s %s%s ON (' % (self.join_type, qn(self.table_name), alias_str))
 </s> add         # Add a join condition for each pair of joining columns.
    'Friendship', 'Group', 'Membership', 'NewsArticle', 'Person', 'SlugPage',
  from .person import Country, Friendship, Group, Membership, Person
  
  __all__ = [
      'Article', 'ArticleIdea', 'ArticleTag', 'ArticleTranslation', 'Country',
    'Friendship', 'Group', 'Membership', 'NewsArticle', 'Person', 'SlugPage',
  ]
keep keep keep keep replace keep
 Fixed #25064 -- Allowed empty join columns. 
tests/foreign_object/models/__init__.py