GeoNode fixtures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Medium
|
Ben Wyss |
Bug Description
Back in the day some code was committed to the GeoNode api relating to fixtures (https:/
a) what was done regarding fixtures,
b) understand if more work needs to be done to make fixtures usable,
c) understand how to use fixtures to maintain the database data when a database rebuild is preformed.
d) document document document
currently a lot of the GeoNode documentation (GEM customizations/
Changed in openquake: | |
assignee: | nobody → Ben Wyss (bmwyss) |
status: | Confirmed → Fix Released |
The fixtures file was out of sync with the database schema. Once the fixtures file was updated (and placed in the appropriate path) they were loaded correctly.
One can also manually load data with fixtures with:
python ./manage.py loaddata /var/lib/ geonode/ src/GeoNodePy/ geonode/ observations/ migrations/ fe_fixtures. json