federicoB / django-annotator-store

Django application to act as an annotator.js 2.x annotator-store backend
http://django-annotator-store.readthedocs.io/
Apache License 2.0
0 stars 0 forks source link

Document test_annotation_data.json #2

Open federicoB opened 6 years ago

federicoB commented 6 years ago

Problem analysis test_annotation_data.json contains different objects type like annotator API request and users. Commenting is not possible in json. Objects are without a proper context.

Possible solutions

federicoB commented 6 years ago

As described in the django documentation fixtures are the prefered way to provide initial data to a test database. It's possible to provide multiple fixture files in fixture directory. So i think the second possibile solution:

is prefereable