<commit_before># -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import DataMigration
from django.db import models

class Migration(DataMigration):

    def forwards(self, orm):
        import pdb; pdb.set_trace()
        ct, created = orm['contenttypes.ContentType'].objects.get_or_create(
            model='course', app_label='courses', name='course')
        perm, created = orm['auth.permission'].objects.get_or_create(
            content_type=ct, codename='can_list_allcourses', name='Can list courses of an user')
        perm, created = orm['auth.permission'].objects.get_or_create(
            content_type=ct, codename='can_list_passedcourses', name='Can list passed courses of an user')

    def backwards(self, orm):
	ct = orm['contenttypes.ContentType'].objects.get(
            model='course', app_label='courses', name='course')<commit_msg>Remove pdb<commit_after># -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import DataMigration
from django.db import models

class Migration(DataMigration):

    def forwards(self, orm):
        ct, created = orm['contenttypes.ContentType'].objects.get_or_create(
            model='course', app_label='courses', name='course')
        perm, created = orm['auth.permission'].objects.get_or_create(
            content_type=ct, codename='can_list_allcourses', name='Can list courses of an user')
        perm, created = orm['auth.permission'].objects.get_or_create(
            content_type=ct, codename='can_list_passedcourses', name='Can list passed courses of an user')

    def backwards(self, orm):
	ct = orm['contenttypes.ContentType'].objects.get(
            model='course', app_label='courses', name='course')
{'fraction_non_alphanumeric': 0.12839791787160207, 'fraction_numerical': 0.002313475997686524, 'mean_word_length': 3.942857142857143, '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': '924945', 'n_tokens_mistral': 514, 'n_tokens_neox': 505, 'n_words': 121}