> The `LoginRequired` mixin
and further we see:
> The `PermissionRequiredMixin` mixin
In the first, it does not include the `Mixin` suffix, whereas in the
latter, it does. I think it is better to use the latter, since that refers
to the real name of the mixin, and furthermore the
[https://en.wikipedia.org/wiki/RAS_syndrome RAS syndrome] is usually
allowed repeating `Mixin` twice.
Another option could be to format it with:
> The `LoginRequiredMixin`.
--
Ticket URL: <https://code.djangoproject.com/ticket/34154>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Tony Lechner
* status: new => assigned
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/34154#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/16295 PR].
I don't see any other violations of this pattern on cursory greps through
the doc tree.
--
Ticket URL: <https://code.djangoproject.com/ticket/34154#comment:2>
* type: Uncategorized => Cleanup/optimization
--
Ticket URL: <https://code.djangoproject.com/ticket/34154#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b088cc2feaac638aea91e4d3ab22d276f81630ff" b088cc2]:
{{{
#!CommitTicketReference repository=""
revision="b088cc2feaac638aea91e4d3ab22d276f81630ff"
Fixed #34154 -- Made mixin headers consistent in auth docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34154#comment:4>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"939bab68d80f6b1252842d332e8cbe7ab46ad360" 939bab6]:
{{{
#!CommitTicketReference repository=""
revision="939bab68d80f6b1252842d332e8cbe7ab46ad360"
[4.1.x] Fixed #34154 -- Made mixin headers consistent in auth docs.
Backport of b088cc2feaac638aea91e4d3ab22d276f81630ff from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34154#comment:5>