<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('mdot_rest', '0002_auto_20150722_2054'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='resourcelink',
            name='resource',
        ),
        migrations.AddField(
            model_name='resourcelink',
            name='resource',
            field=models.ForeignKey(default='', to='mdot_rest.Resource'),
            preserve_default=False,
        ),
    ]
<commit_msg>Fix the migration so it takes care of bad default for resource links.<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('mdot_rest', '0002_auto_20150722_2054'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='resourcelink',
            name='resource',
        ),
        migrations.AddField(
            model_name='resourcelink',
            name='resource',
            field=models.ForeignKey(default=1, to='mdot_rest.Resource'),
            preserve_default=False,
        ),
    ]

{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.027580772261623327, 'mean_word_length': 2.377659574468085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7383700', 'n_tokens_mistral': 376, 'n_tokens_neox': 359, 'n_words': 66}