You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.
from redisco import models
class Department(models.Model):
name = models.Attribute(required=True)
class Person(models.Model):
name = models.Attribute(required=True)
#manager = models.ReferenceField('Person', related_name='underlings')
department = models.ReferenceField(Department)
You can see that ReferenceField is correctly handling the _manager_id in set, but the get is caching the referenced model on the ReferenceField instance instead of the Model instance:
given app/models.py as:
You can see that ReferenceField is correctly handling the _manager_id in set, but the get is caching the referenced model on the ReferenceField instance instead of the Model instance:
N.B.
The text was updated successfully, but these errors were encountered: