title: relationship primaryjoin in django.db
body: <p>how to implement primaryjoin through <code>django.db</code> as in the example below with <code>sqlalchemy.orm relationship primaryjoin</code></p>
  <pre><code>Class Account(Base):
      name = Column(String(64), primary_key=True)
      data = relationship(
          &quot;AccountData&quot;,
          primaryjoin=&quot;AccountData.name == Account.name&quot;,
          uselist = False
      )
      ...
  
  
  Class AccountData(Base):
      name = Column(String(64), ForeignKey('account.name'), primary_key=True)
      ...
  </code></pre>