#12999: update_all_contenttypes in contenttypes.management fails in django 1.2 ---------------------------+------------------------------------------------ Reporter: lsbardel | Owner: nobody Status: new | Milestone: 1.2 Component: Uncategorized | Version: SVN Keywords: contenttypes | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ Bug introduced with multiple database support. The function loop over installed applications and call update_contenttypes without passing a keyworded "db" argument. update_contenttypes fails when no "db" is available. To fix the problem I replaced {{{ db = kwargs["db"] }}} with {{{ db = kwargs.get('db',None) }}}
-- Ticket URL: <http://code.djangoproject.com/ticket/12999> 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-upda...@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.