Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

openwisp/django-netjsongraph

Repository files navigation

django-netjsongraph

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:

  1. Take a backup of your database.
  2. 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
  1. Setup openwisp-network-topology
  2. Use the upgrader script:
# 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.