Nevermind, figured it out.
On Mar 8, 2:22 pm, krayel wrote:
> Right now I have model which is basically:
>
> class Student(models.Model):
> name = models.CharField(max_length=150)
> id = models.IntegerField(primary_key=True)
>
> and another model which refers to it:
&
Right now I have model which is basically:
class Student(models.Model):
name = models.CharField(max_length=150)
id = models.IntegerField(primary_key=True)
and another model which refers to it:
class ServiceHours(models.Model):
students = models.ManyToManyField(Student)
category = models.
2 matches
Mail list logo