Ciaran McCormick
|
286e7d076c
Fixed #33764 -- Deprecated BaseUserManager.make_random_password().
|
2 年之前 |
Nick Pope
|
847f46e9bf
Removed redundant QuerySet.all() calls in docs and tests.
|
3 年之前 |
django-bot
|
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
|
3 年之前 |
Jacob Walls
|
0362b0e986
Fixed #26615 -- Made password reset token invalidate when changing email.
|
9 年之前 |
Jacob Walls
|
c7e7f176c1
Fixed #26977 -- Made abstract models raise TypeError when instantiating.
|
4 年之前 |
Hasan Ramezani
|
7af8f41273
Refs #26445 -- Allowed using UserManager.create_user()/create_superuser() in migrations.
|
5 年之前 |
Berker Peksag
|
400ec5125e
Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.
|
8 年之前 |
Tobias Bengfort
|
581a0f4545
Refs #30226 -- Added User.get_user_permissions() method.
|
6 年之前 |
Simon Charette
|
8c775391b7
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
|
6 年之前 |
Tim Graham
|
194a4b526c
Added tests for ContentType/Group/Permission.__str__().
|
6 年之前 |
Tim Graham
|
193c109327
Switched TestCase to SimpleTestCase where possible in Django's tests.
|
6 年之前 |
Ramon Saraiva
|
2349cbd909
Fixed #29782 -- Added better error message when filtering queryset with AnonymousUser.
|
6 年之前 |
Jon Dufresne
|
82f286cf6f
Refs #29784 -- Switched to https:// links where available.
|
6 年之前 |
Tim Graham
|
a4f0e9aec7
Fixed #28718 -- Allowed user to request a password reset if their password doesn't use an enabled hasher.
|
7 年之前 |
Christophe Mehay
|
40bac28faa
Fixed #29176 -- Fixed AbstractBaseUser.normalize_username() crash if username isn't a string.
|
7 年之前 |
Mads Jensen
|
d917c17a3b
Completed test coverage for AnonymousUser.
|
7 年之前 |
Mads Jensen
|
7fce4dc5ff
Moved AnonymousUser tests to its own test case.
|
7 年之前 |
Bruno Alla
|
6092ea8fa6
Refs #27804 -- Used subTest() in several tests.
|
8 年之前 |
Anton Samarchyan
|
7588d7e439
Improved test coverage for django.contrib.auth.
|
8 年之前 |
Tim Graham
|
7aba69145d
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
8 年之前 |
Claude Paroz
|
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
|
8 年之前 |
za
|
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
8 年之前 |
levental
|
617e36dc1e
Fixed #20705 -- Allowed using PasswordResetForm with user models with an email field not named 'email'.
|
8 年之前 |
Tim Graham
|
8119b679eb
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
|
8 年之前 |
Bang Dao + Tam Huynh
|
09119dff14
Fixed #26719 -- Normalized email in AbstractUser.clean().
|
8 年之前 |
Tim Graham
|
39805686b3
Refs #21379, #26719 -- Moved username normalization to AbstractBaseUser.
|
8 年之前 |
Jon Dufresne
|
4f336f6652
Fixed #26747 -- Used more specific assertions in the Django test suite.
|
8 年之前 |
Tim Graham
|
92053acbb9
Fixed E128 flake8 warnings in tests/.
|
9 年之前 |
Tim Graham
|
015fad9060
Fixed #26175 -- Removed SHA1 password hashes in tests.
|
9 年之前 |
Hasan
|
253adc2b8a
Refs #26022 -- Used context manager version of assertRaisesMessage in tests.
|
9 年之前 |