July 10, 2024July 10, 2024Computing, Programming, Uncategorized Encode custom models to Django’s JSONField Problem and then you want to serialise it, say as a ‘snapshot’ for rendering or logging, and you want to store that […]
June 17, 2023June 17, 2023Computing, Programming Multi-Tenant Grafana with DRF While looking at Grafana Multi-Tenant arrangements, I realised it’s problematic to have a multi-tenant SQL database accessed by Grafana. One solution is […]
June 17, 2023June 17, 2023Computing, Programming Django Object-level Permissions with DRF and Rules Finding a simple way to limit API users’ permissions to certain objects. We want an API via Django, so we use DRF. […]