<commit_before>from __future__ import unicode_literals

from django.db import models


# Create your models here.

class User(models.Model):
    user_id = models.AutoField(primary_key=True)
    user_name = models.CharField(max_length=512)

    def __unicode__(self):
        return self.user_id


class Music(models.Model):
	music_id = models.AutoField(primary_key=True)
	users = models.ManyToManyField(User, through='Forkship')
	
	def __unicode__(self):
		return self.pathname

class Track(models.Model):
	track_id = models.AutoField(primary_key=True)
	pathname = models.CharField(max_length=512)
	music = models.ForeignKey(Music)

	def __unicode__(self):
		return self.pathname

class Forkship(models.Model):
    user = models.ForeignKey(User)
    music = models.ForeignKey(Music)<commit_msg>fixed models.py<commit_after>from __future__ import unicode_literals

from django.db import models


# Create your models here.

class User(models.Model):
    user_id = models.AutoField(primary_key=True)
    user_name = models.CharField(max_length=512)

    def __unicode__(self):
        return self.user_id


class Music(models.Model):
    music_id = models.AutoField(primary_key=True)
    users = models.ManyToManyField(User, through='Forkship')

    def __unicode__(self):
        return self.pathname


class Track(models.Model):
    track_id = models.AutoField(primary_key=True)
    pathname = models.CharField(max_length=512)
    music = models.ForeignKey(Music)

    def __unicode__(self):
        return self.pathname


class Forkship(models.Model):
    user = models.ForeignKey(User)
    music = models.ForeignKey(Music)
{'fraction_non_alphanumeric': 0.0979064039408867, 'fraction_numerical': 0.007389162561576354, 'mean_word_length': 4.508474576271187, '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': '4004795', 'n_tokens_mistral': 543, 'n_tokens_neox': 508, 'n_words': 102}