#31515: Django tries to reuse MySQL connections that have gone away with ASGI.
-------------------------------------+-------------------------------------
Reporter: Braunson | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by felixxm):
Using cache and sync method are unrelated, I can reproduce the same
behavior with:
{{{
def home(request):
users = UserProxy.objects.all()
num = 1
users[0].discord = num
users[0].save()
return render(request, 'home.html', {'users': users[0], 'num': num})
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31515#comment:9>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.fe7aa11d0829a94c48f1becf0cdd2163%40djangoproject.com.