Opened 8 years ago

Closed 8 years ago

#8105 closed (invalid)

Syncdb ManytoManyField Upgrade error

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


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

Change History (1)

comment:1 Changed 8 years ago by julianb

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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