<commit_before>
from south.db import db
from django.db import models
from ella.core.models import *

class Migration:

    def forwards(self, orm):

        # Adding model 'Publishable'
        db.create_table('core_publishable', (
            ('id', models.AutoField(primary_key=True)),
            ('content_type', models.ForeignKey(orm['contenttypes.ContentType'])),
            ('category', models.ForeignKey(orm.Category, verbose_name=_('Category'))),
            ('title', models.CharField(_('Title'), max_length=255)),
            ('slug', models.SlugField(_('Slug'), max_length=255)),
            ('source', models.ForeignKey(orm.Source, null=True, verbose_name=_('Source'), blank=True)),
            ('photo', models.ForeignKey(orm['photos.Photo'], null=True, verbose_name=_('Photo'), blank=True)),
            ('description', models.TextField(_('Description'))),
            ('publish_from', models.DateTimeField(_('Publish from'), default=datetime(3000, 1, 1, 0, 0), editable=False)),<commit_msg>dependency note<commit_after>
from south.db import db
from django.db import models
from ella.core.models import *

class Migration:

    depends_on = (
        #("*", "0001_initial"), # TODO: south cannot do this, but it is necessary for empty db
    )
 
    def forwards(self, orm):

        # Adding model 'Publishable'
        db.create_table('core_publishable', (
            ('id', models.AutoField(primary_key=True)),
            ('content_type', models.ForeignKey(orm['contenttypes.ContentType'])),
            ('category', models.ForeignKey(orm.Category, verbose_name=_('Category'))),
            ('title', models.CharField(_('Title'), max_length=255)),
            ('slug', models.SlugField(_('Slug'), max_length=255)),
            ('source', models.ForeignKey(orm.Source, null=True, verbose_name=_('Source'), blank=True)),
            ('photo', models.ForeignKey(orm['photos.Photo'], null=True, verbose_name=_('Photo'), blank=True)),
            ('description', models.TextField(_('Description'))),
            ('publish_from', models.DateTimeField(_('Publish from'), default=datetime(3000, 1, 1, 0, 0), editable=False)),
{'fraction_non_alphanumeric': 0.16838166510757718, 'fraction_numerical': 0.014967259120673527, 'mean_word_length': 3.7427937915742793, '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': '3393032', 'n_tokens_mistral': 640, 'n_tokens_neox': 602, 'n_words': 125}