inbo / mica-dashboard

🐀 A web-based dashboard for the MICA project
https://mica.inbo.be
MIT License
2 stars 0 forks source link

Get rid of JinjaSQL #32

Closed niconoe closed 3 years ago

niconoe commented 3 years ago

JinjaSQL is used to create custom SQL queries (map tiles generation). The code is rather messy and could probably use Django's integrated SQL sanitisation mechanisms.

niconoe commented 3 years ago

I've done some good code cleaning/refactoring, but getting totally rid of JinJaSQL doesn't really seem very doable since Django's ORM is much more high level and doesn't provide the needed features.