<commit_before>
from south.db import db
from django.db import models

class Migration:

    # TODO:
    # this is only temporary, it should be constructed dynamically
    # from each migration in installed_apps, that contains run_before
    depends_on = (
        ('articles', '0002_03_move_article_data'),
        ('galleries', '0002_03_gallery_to_publishable'),
        ('interviews'), ('0002_03_interview_to_publishable'),
        ('media'), ('0002_03_media_to_publishable'),
        ('polls'), ('0002_03_01_contest_to_publishable'),
        ('polls'), ('0002_03_02_quiz_to_publishable'),
        ('series'), ('0002_03_serie_to_publishable'),
    )

    def forwards(self, orm):
        print 'running all dependencies'

    def backwards(self, orm):
        print 'there is no way back'

    models = {
        'core.publishable': {
            'Meta': {'app_label': "'core'"},
            '_stub': True,
            'id': ('models.AutoField', [], {'primary_key': 'True'})
        },
    }

<commit_msg>discussions as dependency<commit_after>
from south.db import db
from django.db import models

class Migration:

    # TODO:
    # this is only temporary, it should be constructed dynamically
    # from each migration in installed_apps, that contains run_before
    depends_on = (
        ('articles', '0002_03_move_article_data'),
        ('galleries', '0002_03_gallery_to_publishable'),
        ('interviews'), ('0002_03_interview_to_publishable'),
        ('media'), ('0002_03_media_to_publishable'),
        ('polls'), ('0002_03_01_contest_to_publishable'),
        ('polls'), ('0002_03_02_quiz_to_publishable'),
        ('series'), ('0002_03_serie_to_publishable'),
        ('discussions'), '0002_03_move_topic_data'),
    )

    def forwards(self, orm):
        print 'running all dependencies'

    def backwards(self, orm):
        print 'there is no way back'

    models = {
        'core.publishable': {
            'Meta': {'app_label': "'core'"},
            '_stub': True,
            'id': ('models.AutoField', [], {'primary_key': 'True'})
        },
    }


{'fraction_non_alphanumeric': 0.13804713804713806, 'fraction_numerical': 0.04713804713804714, 'mean_word_length': 3.0077071290944124, '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': '5039836', 'n_tokens_mistral': 711, 'n_tokens_neox': 629, 'n_words': 146}