#2705: [patch] Add optional FOR UPDATE clause to QuerySets ---------------------------------------------------+------------------------ Reporter: Hawkeye | Owner: brunobraga Status: assigned | Milestone: Component: Database layer (models, ORM) | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Comment (by ramiro):
Replying to [comment:68 danfairs]: > I've updated the patch [...] Tests pass on SQLite, PostgreSQL and MySQL. I'd appreciate it if someone with access to Oracle could give them a shot Dan, I've tested `for_update_r15007.diff` under Oracle and. It runs in my environment after the following modifications: * Use threading.Thread.isAlive() instead of is_alive() for Python < 2.6 compatibility * Added `tests/modeltests/select_for_update/__init__.py` Attached `2705-for_update-r15013.diff` contains them plus: * Use django.utils.functional.wraps() instead of functools.wraps() * Tweaked docs and docstrings (typos and use quoting to get non- proportional fonts when rendered) * Sorted AUTHORS alphabetically. > ... as my attempts to get Oracle up and running failed. If you have the hadware and the time maybe wiki:OracleTestSetup could be of some help. -- Ticket URL: <http://code.djangoproject.com/ticket/2705#comment:69> 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.