Jacob Walls
|
31837dbcb3
|
Fixed #35569 -- Improved wording of invalid ForeignKey error message.
|
2024-07-04 11:35:03 +02:00 |
Adam Johnson
|
d2c5a30e5a
|
Fixed #35408 -- Optimized post-migrate permission creation.
co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
2024-05-13 08:34:57 +02:00 |
Mariusz Felisiak
|
d88ec42bd0
|
Used addCleanup() in tests where appropriate.
|
2023-12-31 10:01:31 +01:00 |
Mateusz Więckowski
|
5aa4c0b675
|
Fixed #34542 -- Made createsuperuser handle required blank fields in non-interactive mode.
|
2023-08-08 09:26:28 +02:00 |
David Wobrock
|
5aaad5f39c
|
Fixed #34165 -- Made permissions creation respect the "using" parameter.
|
2022-12-24 11:58:33 +01:00 |
Marcelo Galigniana
|
67c34c1a37
|
Completed test coverage for createsuperuser command.
|
2022-09-27 09:57:16 +02:00 |
Aymeric Augustin
|
6485894157
|
Renamed wrapped functions to wrapper.
All these functions are wrapping another function. They're the wrapper,
while the function they're wrapping is the wrapped.
|
2022-05-25 10:53:52 +02:00 |
Lucidiot
|
13a9cde133
|
Fixed #33613 -- Made createsuperuser detect uniqueness of USERNAME_FIELD when using Meta.constraints.
|
2022-04-01 11:39:41 +02:00 |
Mariusz Felisiak
|
7119f40c98
|
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
2022-02-07 20:37:05 +01:00 |
django-bot
|
9c19aff7c7
|
Refs #33476 -- Reformatted code with Black.
|
2022-02-07 20:37:05 +01:00 |
Christophe Henry
|
b1b26b37af
|
Fixed #33178 -- Made createsuperuser validate required fields passed in options in interactive mode.
|
2021-10-12 08:08:05 +02:00 |
Christophe Henry
|
57273e1569
|
Refs #33178 -- Added createsuperuser tests for validation of foreign keys.
|
2021-10-12 07:54:50 +02:00 |
Christophe Henry
|
4ff500f294
|
Refs #21755 -- Fixed createsuperuser crash for required foreign keys passed in options in interactive mode.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
2021-10-12 06:59:46 +02:00 |
Mariusz Felisiak
|
da266b3c5c
|
Refs #29628, Refs #33178 -- Made createsuperuser validate password against required fields passed in options.
|
2021-10-12 06:21:14 +02:00 |
Christophe Henry
|
df2d2bc95c
|
Fixed #33151 -- Fixed createsuperuser crash for many-to-many required fields in non-interactive mode.
|
2021-10-07 12:37:16 +02:00 |
Mariusz Felisiak
|
54a30a7a00
|
Refs #29898 -- Changed ProjectState.real_apps to set.
|
2021-08-11 09:01:14 +02:00 |
Yan Mitrofanov
|
b88f98738f
|
Fixed #31878 -- Made createsuperuser respect --database option in default usernames.
|
2020-08-14 11:08:20 +02:00 |
Yan Mitrofanov
|
552bb82928
|
Fixed typo in tests/auth_tests/test_management.py docstring.
|
2020-08-14 11:08:12 +02:00 |
François Freitag
|
c8bebbd541
|
Disabled management commands output with verbosity 0 in various tests.
|
2020-05-13 09:12:43 +02:00 |
François Freitag
|
a0df5dea33
|
Removed unnecessary inner methods in CreatesuperuserManagementCommandTestCase.
|
2020-05-01 20:51:44 +02:00 |
François Freitag
|
c86201b6ed
|
Disabled management commands output with verbosity 0 in various tests.
Instead of capturing the command output and discard it immediately,
tell the command not to log.
|
2020-04-20 09:09:26 +02:00 |
François Freitag
|
45e96b4d9d
|
Removed unnecessary capturing of stdout/stderr in auth_tests.test_management.
|
2020-04-20 09:08:43 +02:00 |
Hasan Ramezani
|
03dbdfd9bb
|
Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS.
|
2019-08-26 14:48:40 +02:00 |
Hasan Ramezani
|
a5308514fb
|
Fixed #27801 -- Made createsuperuser fall back to environment variables for password and required fields.
|
2019-07-02 12:55:09 +02:00 |
Arthur Rio
|
181fb60159
|
Fixed #11154, #22270 -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
|
2019-01-16 10:07:28 -05:00 |
Simon Charette
|
8c775391b7
|
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
|
2019-01-10 19:11:21 -05:00 |
Simon Charette
|
84e7a9f4a7
|
Switched setUp() to setUpTestData() where possible in Django's tests.
|
2018-11-27 09:35:17 -05:00 |
Josh Schneier
|
3daac76cfb
|
Simplified how createsuperuser tests generate passwords.
|
2018-08-18 16:26:13 -04:00 |
Josh Schneier
|
8b43e9b1af
|
Fixed #29616 -- Fixed createsuperuser for user models that don't have a password field.
|
2018-08-05 14:26:03 -04:00 |
Josh Schneier
|
793e9bb35a
|
Fixed #29628 -- Made createsuperuser validate password against username and required fields.
|
2018-08-04 08:44:25 -04:00 |
Hasan Ramezani
|
6df3d36801
|
Added a missing test for createsuperuser management command.
|
2018-06-07 19:49:25 -04:00 |
Claude Paroz
|
bec651a427
|
Fixed #10827 -- Ensured ContentTypes are created before permission creation.
|
2018-06-03 22:19:04 -04:00 |
Dohyeon Kim
|
f1f4aeb22e
|
Fixed #28044 -- Unified the logic for createsuperuser's interactive and --noinput modes.
|
2018-05-29 08:41:32 -04:00 |
Hasan Ramezani
|
e0ff88be4f
|
Added test for createsuperuser's handling of KeyboardInterrupt.
|
2018-05-27 19:24:07 -04:00 |
olivierdalang
|
825f0beda8
|
Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
|
2018-05-16 06:44:55 -04:00 |
Tom
|
b81905bfd4
|
Fixed #28571 -- Added a prompt to bypass password validation in createsuperuser.
|
2017-11-03 20:00:08 -04:00 |
Tim Graham
|
872be5976d
|
Improved technique for matching input prompts in contrib.auth management tests.
|
2017-11-03 20:00:08 -04:00 |
Hasan Ramezani
|
6aec130a4c
|
Fixed #28591 -- Added an error message for createsuperuser --username= (blank).
|
2017-10-09 21:49:35 -04:00 |
Mads Jensen
|
a51c4de194
|
Used assertRaisesMessage() to test Django's error messages.
|
2017-07-29 19:07:23 -04:00 |
Chandrakant Kumar
|
2b09e4c88e
|
Fixed #27787 -- Made call_command() validate the options it receives.
|
2017-06-16 21:28:38 -04:00 |
Sławek Ehlert
|
faaf62f616
|
Improved test coverage for createsuperuser command.
|
2017-05-12 10:29:56 -04:00 |
Anton Samarchyan
|
7588d7e439
|
Improved test coverage for django.contrib.auth.
|
2017-03-01 17:29:50 -05:00 |
Claude Paroz
|
c651331b34
|
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
|
2017-02-07 09:04:04 +01:00 |
Tim Graham
|
7aba69145d
|
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
2017-01-20 08:17:20 -05:00 |
Claude Paroz
|
042b7350a0
|
Refs #23919 -- Removed unneeded str() calls
|
2017-01-20 14:13:55 +01:00 |
Claude Paroz
|
dc8834cad4
|
Refs #23919 -- Removed unneeded force_str calls
|
2017-01-20 08:44:31 +01:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
Claude Paroz
|
c716fe8782
|
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
|
2017-01-18 16:21:28 +01:00 |