I'm experimenting with Djongo right now: Is there a possibility to reference the djongo nested models in another model as a foreign key? Or how would you deal with this structure in djongo? Clinic 1:n Wards - Ward 1:n Cases (The cases should still be in their own collection.)
class Clinic(models.Model):
...
wards = models.ArrayModelField(model_container=Ward, null=True,)
...
class Case(models.Model):
ward = models.ForeignKey(
'clinic.ward', on_delete=models.PROTECT)