On 12/19/2014 11:59 AM, Marcin Nowak wrote: > > > On Friday, December 19, 2014 12:19:11 AM UTC+1, Shai Berger wrote: >> >> >> As far as I understood, Marcin wants to treat *all* models as unmanaged; >> there >> are no managed models to reference the unmanaged ones. >> > > I would like to disable/remove/kick-off built-in migration mechanism. :) > > If may I suggest something - the migration subsystem should be delivered in > the same way as other "contrib" apps. > It should be an extension similar to South, but delivered as a part and of > framework.
The "syncdb" functionality is on its way to deprecation, replaced by migrations, so at some point within a few releases migrations will be the only way Django can translate your models into database schema. This is not an optional contrib add-on, it's a core part of the ORM. That said, if you don't want to use migrations, you don't have to - it just means that you are 100% responsible for creating and modifying your necessary database tables. That's what setting `managed = False` on the `Meta` of all your models will accomplish. Carl -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/549476B7.1050808%40oddbird.net. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
