Database Archive
- Last build: {{ metadata.db.date }}
- Size: {{ metadata.db.size|filesizeformat }}
Media Archive
- Last build: {{ metadata.media.date }}
- Size: {{ metadata.media.size|filesizeformat }}
Data Archive (db + media)
- Last build: {{ metadata.data.date }}
- Size: {{ metadata.data.size|filesizeformat }}
Information
To inject json data into your database you must use the loaddata command from django.
If you use a django project build with cookiecutter-djangocms3-buildout
you can use the shortcut:
make reset_sqlite
You may install media and database by using this command
bin/django-instance datadownload {{request.scheme}}://{{request.get_host}}{% url 'download_archive' 'data' %}?token={{token}}