In the New Patient form, upon submission, an IntegrityError gets raised as below:
This is because in the model, we have not set null=True, because we want every patient to have a site attached. However it seems like this functionality is not working.
I do seem to recall however being able to manually add patients to the platform. @eatyourpeas , could this be due to the Migration changes we made a while back, in PR #87 ? To the best of my knowledge, the last time we made changes to the models/migrations was here.
In the New Patient form, upon submission, an IntegrityError gets raised as below:
This is because in the model, we have not set null=True, because we want every patient to have a site attached. However it seems like this functionality is not working.
I do seem to recall however being able to manually add patients to the platform. @eatyourpeas , could this be due to the Migration changes we made a while back, in PR #87 ? To the best of my knowledge, the last time we made changes to the models/migrations was here.