Re: [Django] #33809: ValueError in migrations using apps.get_model() for a ForeignKey. (was: ValueError in migrations using apps.get_model for a ForeignKey)

4 views
Skip to first unread message

Django

unread,
Jun 27, 2022, 12:14:13 AM6/27/22
to django-...@googlegroups.com
#33809: ValueError in migrations using apps.get_model() for a ForeignKey.
----------------------------+--------------------------------------
Reporter: Jesse | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: 4.0
Severity: Normal | Resolution: needsinfo
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: => needsinfo


Comment:

Thanks for the report, however it works for me (I attached the test
project). We also have
[https://github.com/django/django/blob/6f63e0ce8e36fbdb2d0c4dfd77ed3cf02e467f49/tests/migrations/test_operations.py#L4772-L4835
a regression test] that covers this use case.

Please reopen the ticket if you can debug your issue and provide a sample
project that reproduces it.

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

Reply all
Reply to author
Forward
0 new messages