WARNING: The development of this project has moved to openwisp-network-topology, we advise all users of django-netjsongraph to follow the tutorial below to migrate their existing database:
- Take a backup of your database.
- Create JSON backup of data that's required for migration with the following command:
# Go to the django-netjsongraph repository (or installed app)
cd tests/
python manage.py dumpdata auth.user > user.json
python manage.py dumpdata auth.group > group.json
python manage.py dumpdata django_netjsongraph > netjsongraph.json
python manage.py dumpdata auth.permission > permission.json
python manage.py dumpdata contenttypes > contenttype.json
pwd # copy output of the command
# In the openwisp-network-topology repository
python tests/manage.py upgrade_from_django_netjsongraph --backup <output-copied-in-step-2>
For any support, please reach out to us on the chat channel on gitter or use the mailing list.
The development of django-netjsongraph is discontinued and this repository is archived.