<commit_before># -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2017-10-20 08:13
from __future__ import unicode_literals

from django.db import migrations
from frontend.management.commands.import_ccg_boundaries import set_centroids

import django.contrib.gis.db.models.fields


def set_centroids_without_args(*args):
    set_centroids()


class Migration(migrations.Migration):

    dependencies = [
        ('frontend', '0031_auto_20171004_1330'),
    ]

    operations = [
        migrations.AddField(
            model_name='pct',
            name='centroid',
            field=django.contrib.gis.db.models.fields.PointField(
                blank=True, null=True, srid=4326),
        ),

        # This is now commented out because the SQL generated to execute
        # set_centroids_without_args includes a reference to fiels which aren't
        # created until migration 36.

        # migrations.RunPython(set_centroids_without_args),
    ]<commit_msg>Remove commented-out RunPython from migration<commit_after># -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2017-10-20 08:13
from __future__ import unicode_literals

from django.db import migrations
from frontend.management.commands.import_ccg_boundaries import set_centroids

import django.contrib.gis.db.models.fields


def set_centroids_without_args(*args):
    set_centroids()


class Migration(migrations.Migration):

    dependencies = [
        ('frontend', '0031_auto_20171004_1330'),
    ]

    operations = [
        migrations.AddField(
            model_name='pct',
            name='centroid',
            field=django.contrib.gis.db.models.fields.PointField(
                blank=True, null=True, srid=4326),
        ),
    ]
{'fraction_non_alphanumeric': 0.09748978400467016, 'fraction_numerical': 0.04319906596614127, 'mean_word_length': 3.0046728971962615, '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': '826918', 'n_tokens_mistral': 576, 'n_tokens_neox': 514, 'n_words': 108}