See https://github.com/openwisp/django-netjsonconfig/issues/27 and https://github.com/openwisp/django-netjsonconfig/commit/31e40ace0b6b9f35711539c38217ecce5eba07a0.