Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Commit

Permalink
Upgrade to PRONOM 93
Browse files Browse the repository at this point in the history
  • Loading branch information
ablwr committed Aug 29, 2018
1 parent 98e3851 commit b9b4ad2
Show file tree
Hide file tree
Showing 2 changed files with 927 additions and 0 deletions.
21 changes: 21 additions & 0 deletions fpr/migrations/0020_pronom_93.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

import os

from django.core.management import call_command
from django.db import migrations

def data_migration(apps, schema_editor):
fixture_file = os.path.join(os.path.dirname(__file__), 'pronom_93.json')
call_command('loaddata', fixture_file, app_label='fpr')

class Migration(migrations.Migration):

dependencies = [
('fpr', '0019_fix_gs_command'),
]

operations = [
migrations.RunPython(data_migration),
]
Loading

0 comments on commit b9b4ad2

Please sign in to comment.