-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJV3IF9AAoJEC0ft5FqUuEhplkQAIkFRyLCf5nBFqdKJpVfGFR/
LM7rdAcdz+LXPKuKJG/b44j96vm0ZNpcTlu2Fl0Tros/6NEGMIkyhd19Ul/Q/Szb
fGoO9bTuBF5T30FvZ33xWTMygJd3JMs2qRS9Rr2RhF17tDB0Ydo+nECAedJ0SUmN
3HA+NjX3yQxWX9nZ2fHCwo4SavqpfT9XepchI/PLDku7yOC4jIUfWVWr6jsr5hEb
mqWlaumaHqJQdQMEVVPATNPFe0K8n2C1QCNeeXe4ZmsGN7JUM9iFFMbw2lvwaXxT
CFIenpGmG19m22eMoOIS++pMFRZB7OycFSD9eeb8iFMxj+pbYjoFoprlLZqmaiq9
o1oxrq1cMeZnkQpJ0WMy4a/HIjl1URMdJXdEdLm0cjpdSJcd3hykDGxkAUTyr2B2
Pet7IKcZhDXy+c0UqisAtnF/2O0nTo4nm6b6JVnRnXXVuW2gUVSXS62pF7eYIwtW
FLRoKBNB38KmQfIcAnnHY8Qpvq/a6pb0inLfhiztFxECBaaSALzPc6HACaTNAXii
QFyMKP9kBR3PcbqYO419jQpEojZTj4Z2jx+4uyAndGW/tNThfyqaI4nfW68Y/rBz
ZqxsIyLJ0JGEwYEJz5VPKWepSY0UASXqPoFAVeH6B76HljP10crSN9aoFgyZCydD
r7bRWapuJiK5ovP28UCQ
=wu57
-----END PGP SIGNATURE-----
On 08/25/2015 08:42 AM, Marcin Nowak wrote:
>
> On 25 August 2015 at 16:21, Tim Graham <timograham@gmail.com
> <mailto:timograham@gmail.com>> wrote:
>
> What does "turning off migrations" mean in practice? Is it not
> enough to avoid the makemigrations and migrate management commands?
>
>
>
> Currently I'm replacing mgmt commands to avoid accidential calls, and
> also replacing test runner. But, for example, `runserver` complains
> about unapplied migrations (which is not true), and I don't know what
> else and when other db alterations can be executed.
>
> "Global turn off" should give us assurance that nothing would be changed
> in db automatically.
I thought we already covered this topic, and `managed=False` should work
for your use case. That's the exact meaning of this flag: "I don't want
Django to manage my database, please never touch it." Have you tried
adding that flag to your models? Does something about that not work for you?
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/55DC817D.6070905%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment