* ui_ux: => 0
* stage: Design decision needed => Accepted
Comment:
Assuming it's possible to implement this cleanly, it sounds useful.
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by David Schwärzle):
I was recently searching for a shared lock in Django and then came across
this very old ticket. Because not using locks is in some cases dangerous
and exclusive locks are less efficient for read only operations I think
this should be implemented in Django.
So I created a quick and dirty monkey patch which adds this feature for
MySQL and MariaDB syntax to Django including MariaDBs (>10.3.0) "WAIT
<seconds>" feature. The patch is ~400 lines long, but most of that are
blank lines and copied Django functions. I am not very experienced with
Python nor with Django, so I probably won't implement it properly and
create a pull request, but I'll upload the patch if someone is still
interested.
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:10>
* cc: Adam (Chainz) Johnson (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:11>
* status: new => assigned
* needs_tests: 0 => 1
* owner: (none) => xyd
* version: 1.0 => dev
* keywords: => select_for_share
* needs_docs: 0 => 1
Comment:
i am so new , but i want try
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:12>
* has_patch: 0 => 1
Comment:
PR is here: https://github.com/django/django/pull/16172
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:13>
* owner: xyd => Nick Pope
* needs_docs: 1 => 0
* needs_tests: 1 => 0
Comment:
New [https://github.com/django/django/pull/16381 PR].
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:14>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/10088#comment:15>