There is an existing library https://github.com/makinacorpus/django-geojson could be reused?