FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

Consider adding/creating a lightweight ORM #88

Open andylolz opened 4 months ago

andylolz commented 4 months ago

There’s currently a bit of faff involved in reading and writing JSON fields to the database, and this is currently inline in the code.

Moving this sort of thing to an ORM layer would be neater. To be clear, I don’t mean using a full ORM (like peewee – though I’ve used peewee before and I quite like it). I think I mean adding an extra models.py where this sort of code can live.