from django.db import models


class Index(models.Model):
    name = models.CharField(max_length=50)
    degree = models.IntegerField(10)

    def __str__(self):
        return '%s: %s' % (self.name, self.degree)

0950c1609ca82980e4eddc6684901a52de68e34e
<mask token>


class Index(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Index(models.Model):
    <mask token>
    <mask token>

    def __str__(self):
        return '%s: %s' % (self.name, self.degree)

<mask token>


class Index(models.Model):
    name = models.CharField(max_length=50)
    degree = models.IntegerField(10)

    def __str__(self):
        return '%s: %s' % (self.name, self.degree)

from django.db import models


class Index(models.Model):
    name = models.CharField(max_length=50)
    degree = models.IntegerField(10)

    def __str__(self):
        return '%s: %s' % (self.name, self.degree)
