| Age | Commit message (Collapse) | Author |
|
For use in checking user permissions via has_perm().
Co-authored-by: 사재혁 <jaehyuck.sa.dev@gmail.com>
|
|
Manually reformatted some long docstrings and comments that would be
damaged by the to-be-applied autofixer script, in cases where editorial
judgment seemed necessary for style or wording changes.
|
|
|
|
|
|
methods.
Thank you to Jason Chambers for the report and to Mariusz Felisiak for the review.
|
|
|
|
|
|
|
|
|
|
ValueError on string or non-iterable perm_list.
|
|
migrations.
Used app config to lookup user model in _create_user().
Thanks Markus Holtermann for the review and initial patch.
Thanks Simon Charette for the implementation idea.
|
|
|
|
django.contrib modules.
The Django "Model Meta options" docs provide examples and generally
point the reader to use lists for the unique_together and ordering
options. Follow our own advice for contrib models.
More generally, lists should be used for homogeneous sequences of
arbitrary lengths of which both unique_together and ordering are.
|
|
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
|
|
|
|
Added to mirror the existing User.get_group_permissions().
|
|
|
|
|
|
|
|
AnonymousUser.
|
|
|
|
|
|
Follow up to 841a87785a78cc37362a66856025bae2f7ba633c.
|
|
|
|
|
|
User model doesn't have last_login field.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
__ne__() defaults to the opposite of __eq__() on Python 3
when it doesn't return NotImplemented.
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
Per deprecation timeline.
|
|
|
|
|
|
email field not named 'email'.
|
|
|
|
|
|
|
|
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
Thanks Collin Anderson and Nick Sandford for work on the patch.
|
|
ForeignKey/OneToOneField
|