#33168: Meta.managed=False field not respected by makemigrations
-------------------------------------+-------------------------------------
Reporter: Javier Domingo | Owner: nobody
Cansino |
Type: Bug | Status: closed
Component: Migrations | Version: 3.2
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
-------------------------------------+-------------------------------------
Comment (by Javier Domingo Cansino):
I'm not sure if I understand your mesage, but bisecting the problem, it
seems like a change in behaviour between python2 and python3.
Just in case, the problem is that given a model with managed=False,
makemigrations generate migrations for that model. This behaviour is
documented in [1] however it is only respected when running python 2 with
older versions of Django.
[1] https://docs.djangoproject.com/en/3.2/ref/models/options/#managed
--
Ticket URL: <https://code.djangoproject.com/ticket/33168#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.9c75adec07961c3480107ae81fb61c5d%40djangoproject.com.