On 15/07/2013 1:02am, Charounson Saintilus wrote:
This is my first time using the Django Web Framework and I'm new to the
python language, so please bear with me.
I've created a model (i.e. a class) called Course which defines several
variables:
class Course(models.Model):
name = models
You error is in the following line:
prereq = models.ManyToManyField(*Course*, blank=True, null=True,
through='PreReqToCourse')
To phrase this as a sentence, you're saying that "Many courses can belong
to many courses." which doesn't follow. I'm guessing that you're aiming to
achieve something
This is my first time using the Django Web Framework and I'm new to the
python language, so please bear with me.
I've created a model (i.e. a class) called Course which defines several
variables:
class Course(models.Model):
name = models.CharField(max_length=32)
3 matches
Mail list logo