Opened 16 years ago

Closed 16 years ago

#8105 closed (invalid)

Syncdb ManytoManyField Upgrade error

Reported by: Talat UYARER Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When create a databse from model after if i add a ManytoMantField variable in model.py syncdb not created relation table

Change History (1)

comment:1 by Julian Bez, 16 years ago

Resolution: invalid
Status: newclosed

Did you create the model from scratch? Syncdb won't update tables for models that are already there... so when adding a ManyToMany field it won't change anything.

Best way to get it working is using reset, but then you will lose all your data of course.

Note: See TracTickets for help on using tickets.
Back to Top