Use an SQL view + postgREST to have a representation of the planet table
It has many advantages:
- it allows the datatable script to connect with data without the need to use a specific handwritten Django view returning json (we just need to have a handwritten answer for the header)
- it allows us to use the postgREST query language as a replacement for the old and unmaintained current query language
- it hides the detail of the actual data model (decoupling)
- it makes exodamization of the DB easier because we just have to expose the data via the view whatever the actual data model is