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

class Migration:
    
    def forwards(self, orm):
        
        # Adding model 'CMSPlugin'
        db.create_table('cms_cmsplugin', (
            ('language', models.CharField(_("language"), db_index=True, max_length=3, editable=False, blank=False)),
            ('page', models.ForeignKey(orm.Page, editable=False, verbose_name=_("page"))),
            ('position', models.PositiveSmallIntegerField(_("position"), default=0, editable=False)),
            ('creation_date', models.DateTimeField(_("creation date"), default=datetime.now, editable=False)),
            ('placeholder', models.CharField(_("slot"), max_length=50, editable=False, db_index=True)),
            ('id', models.AutoField(primary_key=True)),
            ('plugin_type', models.CharField(_("plugin_name"), max_length=50, editable=False, db_index=True)),
        ))
        db.send_create_signal('cms', ['CMSPlugin'])
        
        # Adding model 'Title'
        db.create_table('cms_title', (
            ('language', models.CharField(_("language"), max_length=3, db_index=True)),
            ('title', models.CharField(_("title"), max_length=255)),
            ('page', models.ForeignKey(orm.Page, related_name="title_set", verbose_name=_("page"))),
            ('id', models.AutoField(primary_key=True)),
            ('path', models.CharField(_("path"), max_length=255, db_index=True)),
            ('creation_date', models.DateTimeField(_("creation date"), default=datetime.now, editable=False)),
            ('slug', models.SlugField(_("slug"), unique=False, max_length=255, db_index=True)),
        ))
        db.send_create_signal('cms', ['Title'])
        
        # Adding model 'PagePermission'
        db.create_table('cms_pagepermission', (
            ('everybody', models.BooleanField(_("everybody"), default=False)),
            ('can_edit', models.BooleanField(_("can edit"), default=True)),
            ('group', models.ForeignKey(orm['auth.Group'], null=True, verbose_name=_("group"), blank=True)),
            ('can_publish', models.BooleanField(_("can publish"), default=True)),
            ('page', models.ForeignKey(orm.Page, null=True, verbose_name=_("page"), blank=True)),
            ('user', models.ForeignKey(orm['auth.User'], null=True, verbose_name=_("user"), blank=True)),
            ('type', models.IntegerField(_("type"), default=0)),
            ('id', models.AutoField(primary_key=True)),
            ('can_change_softroot', models.BooleanField(_("can change soft-root"), default=False)),
        ))
        db.send_create_signal('cms', ['PagePermission'])
        
        # Adding model 'Page'
        db.create_table('cms_page', (
            ('status', models.IntegerField(_("status"), default=0, db_index=True)),
            ('rght', models.PositiveIntegerField(db_index=True, editable=False)),
            ('level', models.PositiveIntegerField(db_index=True, editable=False)),
            ('navigation_extenders', models.CharField(_("navigation extenders"), blank=True, max_length=80, null=True, db_index=True)),
            ('parent', models.ForeignKey('self', db_index=True, related_name='children', null=True, editable=False, blank=True)),
            ('author', models.ForeignKey(orm['auth.User'], limit_choices_to={'page__isnull':False}, verbose_name=_("author"))),
            ('reverse_id', models.CharField(_("reverse url id"), blank=True, max_length=40, null=True, db_index=True)),
            ('login_required', models.BooleanField(_('login required'), default=False)),
            ('soft_root', models.BooleanField(_("soft root"), default=False, db_index=True)),
            ('creation_date', models.DateTimeField(default=datetime.now, editable=False)),
            ('lft', models.PositiveIntegerField(db_index=True, editable=False)),
            ('publication_end_date', models.DateTimeField(_("publication end date"), null=True, db_index=True, blank=True)),<commit_msg>reverted the deletion of url_overwrite and has_url_overwrite<commit_after>
from south.db import db
from django.db import models
from cms.models import *

class Migration:
    
    def forwards(self, orm):
        
        # Adding model 'CMSPlugin'
        db.create_table('cms_cmsplugin', (
            ('language', models.CharField(_("language"), db_index=True, max_length=3, editable=False, blank=False)),
            ('page', models.ForeignKey(orm.Page, editable=False, verbose_name=_("page"))),
            ('position', models.PositiveSmallIntegerField(_("position"), default=0, editable=False)),
            ('creation_date', models.DateTimeField(_("creation date"), default=datetime.now, editable=False)),
            ('placeholder', models.CharField(_("slot"), max_length=50, editable=False, db_index=True)),
            ('id', models.AutoField(primary_key=True)),
            ('plugin_type', models.CharField(_("plugin_name"), max_length=50, editable=False, db_index=True)),
        ))
        db.send_create_signal('cms', ['CMSPlugin'])
        
        # Adding model 'Title'
        db.create_table('cms_title', (
            ('language', models.CharField(_("language"), max_length=3, db_index=True)),
            ('title', models.CharField(_("title"), max_length=255)),
            ('page', models.ForeignKey(orm.Page, related_name="title_set", verbose_name=_("page"))),
            ('id', models.AutoField(primary_key=True)),
            ('path', models.CharField(_("path"), max_length=255, db_index=True)),
            ('creation_date', models.DateTimeField(_("creation date"), default=datetime.now, editable=False)),
            ('slug', models.SlugField(_("slug"), unique=False, max_length=255, db_index=True)),
        ))
        db.send_create_signal('cms', ['Title'])
        
        # Adding model 'PagePermission'
        db.create_table('cms_pagepermission', (
            ('everybody', models.BooleanField(_("everybody"), default=False)),
            ('can_edit', models.BooleanField(_("can edit"), default=True)),
            ('group', models.ForeignKey(orm['auth.Group'], null=True, verbose_name=_("group"), blank=True)),
            ('can_publish', models.BooleanField(_("can publish"), default=True)),
            ('page', models.ForeignKey(orm.Page, null=True, verbose_name=_("page"), blank=True)),
            ('user', models.ForeignKey(orm['auth.User'], null=True, verbose_name=_("user"), blank=True)),
            ('type', models.IntegerField(_("type"), default=0)),
            ('id', models.AutoField(primary_key=True)),
            ('can_change_softroot', models.BooleanField(_("can change soft-root"), default=False)),
        ))
        db.send_create_signal('cms', ['PagePermission'])
        
        # Adding model 'Page'
        db.create_table('cms_page', (
            ('status', models.IntegerField(_("status"), default=0, db_index=True)),
            ('rght', models.PositiveIntegerField(db_index=True, editable=False)),
            ('level', models.PositiveIntegerField(db_index=True, editable=False)),
            ('navigation_extenders', models.CharField(_("navigation extenders"), blank=True, max_length=80, null=True, db_index=True)),
            ('has_url_overwrite', models.BooleanField(_("has url overwrite"), default=False, db_index=True)),
            ('url_overwrite', models.CharField(_("url overwrite"), blank=True, max_length=80, null=True, db_index=True)),
            ('parent', models.ForeignKey(orm.Page, db_index=True, related_name='children', null=True, editable=False, blank=True)),
            ('author', models.ForeignKey(orm['auth.User'], limit_choices_to={'page__isnull':False}, verbose_name=_("author"))),
            ('reverse_id', models.CharField(_("reverse url id"), blank=True, max_length=40, null=True, db_index=True)),
            ('login_required', models.BooleanField(_('login required'), default=False)),
            ('soft_root', models.BooleanField(_("soft root"), default=False, db_index=True)),
            ('creation_date', models.DateTimeField(default=datetime.now, editable=False)),
            ('lft', models.PositiveIntegerField(db_index=True, editable=False)),
            ('publication_end_date', models.DateTimeField(_("publication end date"), null=True, db_index=True, blank=True)),
{'fraction_non_alphanumeric': 0.17007131633023087, 'fraction_numerical': 0.0055602562552882874, 'mean_word_length': 3.818870122306348, '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': '642087', 'n_tokens_mistral': 2403, 'n_tokens_neox': 2336, 'n_words': 400}