Opened 6 years ago

Closed 6 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

Attachments (0)

Change History (1)

comment:1 Changed 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.