acdh-django-sirad

Django App to create a django-app out of a SIRAD Package.


Keywords
acdh-django-packages, django
License
MIT
Install
pip install acdh-django-sirad==0.1.0

Documentation

acdh-django-sirad

parse a SIARD-ARCHIV and generates a django-app out of it. Also imports the data from the SIARD-ARCHIV into your django app.

Quickstart

Install django_charts:

pip install acdh-django-sirad

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'sirad',
    ...
)

unzip your SIARD-ARCHIV into a folder called 'legacy_data' located in your application's root directory.

Then run python manage.py start_sirad_app <name_of_your_app>

This will create - like django's default startapp command a new application called <name_of_your_app>.

Register your new app in INSTALLED_APPS

To import the data from your SIARD-ARCHIV run python manage.py populate_sirad app <name_of_your_app>

Be aware the the created app was build to work within djangobaseproject