#10647: Many-to-many tables are created even with managed=False ------------------------------------------+--------------------------------- Reporter: Anossov | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: SVN Keywords: managed, manytomany | Stage: Unreviewed Has_patch: 1 | ------------------------------------------+--------------------------------- What else can I say.. django.db.backends.creation.sql_for_many_to_many has no guards whatsoever. {{{ def sql_for_many_to_many(self, model, style): "Return the CREATE TABLE statments for all the many-to-many tables defined on a model" output = [] for f in model._meta.local_many_to_many: output.extend(self.sql_for_many_to_many_field(model, f, style)) return output }}}
-- Ticket URL: <http://code.djangoproject.com/ticket/10647> Django <http://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 post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---