#37124: AccessMixin: object HttpResponseRedirect can't be used in 'await'
expression
--------------------------------+--------------------------------------
     Reporter:  Johannes Maron  |                    Owner:  (none)
         Type:  Bug             |                   Status:  new
    Component:  Uncategorized   |                  Version:  dev
     Severity:  Normal          |               Resolution:
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  1               |                    UI/UX:  0
--------------------------------+--------------------------------------
Comment (by amirreza):

 should mention `LoginRequiredMixin` also uses
 `request.user.is_authenticated` inside `dispatch`, but it should use
 `auser` instead,
 which requires awaiting.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37124#comment:1>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019e6dc2b913-cb65db7a-e0f5-432e-8058-cdc8a962c5a0-000000%40eu-central-1.amazonses.com.

Reply via email to