I have a field with M2M relationship.when running syncdb,the field with M2M field does not form on the database. here is the model
class Eventgroups(models.Model):
event=models.ManyToManyField(Event)
group_name=models.CharField(max_length=100)
def __unicode__(self):
return "%s, %s" \
% (self.group_name, self.event)
class Meta:
db_table= 'eventgroup'
verbose_name_plural='eventgroups'
events field is not created on database I would appreciate an insight to this problem please Regards, Joshua