-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJU70C0AAoJEC0ft5FqUuEh6q0P/iU0kyNuY9KkImMyvoCHkubQ
MP8TOvfmmuxkRzA50rT0XRkO50kxuOOE2TtDHFWullY3NxD62M+z0Pwj1X/u8hlT
PMzFkn+1/CdcHzpohL4KfvbkErDcNRw/6rGpLqgHoJ5qgKGNIoLM7DO3BReZ2xyd
wugjmV/LoMofKXx7K/HWG1EHaykbpXsC3EcEMIGxnbrgiRWP89+KcCVfAvHw40eJ
7eFAUvBz506sz7yn1B809p22edrj+GO89LV6O4HrnNs7EZwSNot2db01d4xXT+VY
EoZcPTq0tXJb0ZN5YZmhX7tzHxvoU9atosYA22NykQjgwm6NU05viSaiiE/l56RU
I54nRGaPA/oO4Nfy8D+7AovWZQCQYnyNQeaxggL0nlzZ+6AoKI7IfRJpEVxBlNs0
qVyBk5cgICBlpj3SZj9oN8KHKXqw9a8v0DVfPJUXZX1aRrx0C0G9udo2XAn/lpuw
6mzMBpdo5xKWO160JvZXI3Xekz0/FUydz5fAe6EXSfgRUhB7zxNoH5cZ+ToPLBbm
Qvk/xQsmZbodwKcB/Akeau9UqYXHydao9G/crT9cR/SfD84ef3f9FPtoUC+ekFbu
kGGV7QpAubOPuqI45+PeO0y6YyHtFTth1VKXsk7iPtuxzV9iYYYj5lWYfnzh0pq6
ii01jE1KfAE4GJ2zHrcw
=RHrG
-----END PGP SIGNATURE-----
On 02/26/2015 08:41 AM, Carsten Fuchs wrote:
> Hi all,
>
> Am 26.02.2015 um 13:54 schrieb Tim Graham:
>> Yes, it's expected behavior. Please see the documentation on the topic:
>> https://docs.djangoproject.com/en/stable/topics/migrations/#historical-models
>>
>
> I have not yet tried this, but won't squashing migrations as a side
> effect also get us rid of dependencies of historical models?
Yes, squashmigrations is the right way to deal with this problem.
If you have RunPython/RunSQL migrations that can also safely go away,
you'll need to manually excise them before squashing in order to get a
complete squash, since they are opaque to squashmigrations and won't be
optimized across. See https://code.djangoproject.com/ticket/24109
Carl
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/54EF40B4.6020305%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment