Opened 3 years ago
Closed 3 years ago
#33521 closed Cleanup/optimization (invalid)
New tables are not created from the models
Reported by: | salima | Owned by: | |
---|---|---|---|
Component: | Error reporting | Version: | 4.0 |
Severity: | Normal | 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
Hi Team,
My query is related to migrations. For example when I am copying models file code from old app to new app by commenting previous old app models file. Then after I run migrations but the tables are not getting created in the database.
ModuleNotFoundError: No module named 'django.db.migrations.migration'
Note:
See TracTickets
for help on using tickets.
If you're having trouble understanding how Django works, see TicketClosingReasons/UseSupportChannels for ways to get help. Trac is not a support channel.