mysql Ver 14.14 Distrib 5.5.43, for osx10.8 (i386) using readline 5.1
Thanks!
Alex
--
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...@googlegroups.com.
To post to this group, send email to django...@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/10d0d83b-733a-47d2-b5d1-6f9c904269a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- aRkadeFR
I encounter a similar problem. This issue is due to in MySQL "Currently, you cannot update a table and select from the same table in a subquery." A workaround way (in MySQL) is to create a template table from the selection:UPDATE `djangoapp_mymodel` SET `foo_field` = 1 WHERE `djangoapp_mymodel`.`id` IN (SELECT U0.`id` FROM `djangoapp_mymodel` U0 AS template_table)But I started to use django since yesterday and don't know how to fix it in django. Any suggestions?