Tuesday, August 25, 2015

Re: Turn off migrations completely in Django 1.7

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJV3IlxAAoJEC0ft5FqUuEhkIcQAIVcuKnhZ241QP0XON2F1MTJ
jdrKWVq4aPg2HShPLpqL637hiintT+blNqgSySzFdz8u7ud3bZ6hXuUb6QUamDlW
yTQa77YAFQ8ff75ojyHteHYEd4B55+hy4y4gA/Qqqhu30q7z5DxB3QaII3kcJ0MY
8Xi6S6bCJUEcU/rB1FI/B43tJZs8bmpeBAoxIhlRN1Ix0Dqbnr1G32/Vbcvofwlt
hEwb9yVOwbHnYqZGiRhDjEz/h6qvBRl0AfsXbarCx61B47qRpLoalaZuHpFl/D2X
vgUNV8EG4eXXOCgMY2lsAOffwj6gGpAPMxYDfL/IR4AExL/PSx5o68dYUGMcMuef
v+7NvWbEG+/NnoHXpRfINbK0Ds5R2A/S4GQ2J9+ZLevQQ1vRCqo9dQIoK+mvxLRj
qhYXG+toiFNHNGGF+4Labm4Un8B7S4sLXtGshTTORBPnla3rddvZQ0GAufhGgtdL
Wu4UpXKujQc6X2Crn03ZJ9ysvWLbZ+0dC9n+f0bD73Nxu3lBVOiygqM5D1IwLLjo
Iv7PlPzABXfN2uOCvC6ioK3RSrh7KPvie82tdmLZCa1iT4h1lzSUMrbYESgnrXOc
ymEo8ewDx9cI+4grBgJNuTO+NMYUQyDEEuMUfrHcv3uo8QtkWVA68OgVNA5Bz3Bg
OocgSc8//8e6Sj6oCO2S
=UVxh
-----END PGP SIGNATURE-----
On 08/25/2015 09:23 AM, Marcin Nowak wrote:
> On 25 August 2015 at 17:04, Carl Meyer <carl@oddbird.net
> <mailto:carl@oddbird.net>> wrote:
>
> Hmm, yes, third-party apps are an issue.
>
> My recollection from the last time you brought this up is that we
> decided an AppConfig-level setting to do the equivalent of managed=False
> for an entire app would be a reasonable feature request. Since you can
> provide your own AppConfig for third-party apps, this would cover that
> use case, too.
>
>
> That would be a better than nothing and it's flexible.
>
> But in the most of my cases I will need to provide app configs for all
> apps. This can mean a lot of unnecessary work.
> Something like 'disable all' is simplest solution, but naturally limited.
>
> Maybe there is a solution for both?

Sometimes when you have unusual requirements you have to do a little
more work to meet them. To my knowledge, out of the many hundreds of
thousands of Django users, you are the first and only one to request a
way to turn off migrations entirely. So I don't think there is a very
strong need to make that easy, when we can add a more flexible feature
that makes it possible.

It is not possible to build a framework where _everything_ is easy. We
aim for "Simple things should be easy, advanced things should be possible."

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/55DC8971.9030308%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment