So this is the situation: I'm adding a new column(presenters) to my Event table. I ran the alter table
sql statements, ran python manage.py syncdb
. I'm trying to be able to select many profiles and store them as presenters. Why is this happening?
Exception Type: DatabaseError
Exception Value: no such table: events_event_presenters
class Event(models.Model):
title = models.CharField(max_length=200)
presenters = models.ManyToManyField(Profile, null=True, blank=True) #new column
sub_heading = models.CharField(max_length=200)
description = models.TextField()
date = models.DateTimeField()