Django-odm2 maps the ODM2 model to django ORM
ODM2 is an information model for spatially discrete, feature-based earth observations that is integrative and extensible and aimed at data interoperability.
For more information see.
This app is designed only for storage of data modeled by the ODM2 specification. The code is based on ODM2DataSharingPortal and does not provide any views or admin integration. It is up to you to create your own implementations.
django-odm2 is available on PyPI and can be installed with pip.
$ pip install django-odm2After installing django-odm2 add it to your INSTALLED_APPS list:
INSTALLED_APPS = [
...
'django_odm2'
]Then run migrate command to create the database tables:
$ python manage.py migrateThe API Reference provides API-level documentation.