[Django] #33521: New tables are not created from the models

8 views
Skip to first unread message

Django

unread,
Feb 18, 2022, 5:01:58 AM2/18/22
to django-...@googlegroups.com
#33521: New tables are not created from the models
------------------------------------------------+------------------------
Reporter: SALIMA534 | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Error reporting | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
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'

}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33521>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 18, 2022, 5:05:55 AM2/18/22
to django-...@googlegroups.com
#33521: New tables are not created from the models
-------------------------------------+-------------------------------------
Reporter: SALIMA534 | Owner: (none)
Type: | Status: closed
Cleanup/optimization |

Component: Error reporting | Version: 4.0
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

If you're having trouble understanding how Django works, see
TicketClosingReasons/UseSupportChannels for ways to get help. Trac is not
a support channel.

--
Ticket URL: <https://code.djangoproject.com/ticket/33521#comment:1>

Reply all
Reply to author
Forward
0 new messages