summaryrefslogtreecommitdiff
path: root/tests/shell
AgeCommit message (Collapse)Author
2025-03-17[5.2.x] Fixed #36252 -- Handled duplicate automatic imports in the shell ↵hesham942
command. Backport of e804a07d76fc85468f27f7130ae1442fabcd650d from main.
2025-03-07[5.2.x] Fixed #36224 -- Fixed shell imports when settings not configured.Sarah Boyce
Thank you Raffaella for the report. Thank you Tim Schilling and Natalia Bidart for the reviews. Backport of de1117ea8eabe0ee0aa048e5a4e249eab7c4245e from main.
2025-02-13[5.2.x] Fixed #36158 -- Refactored shell command to improve auto-imported ↵Natalia
objects reporting. Backport of 56e23b2319cc29e6f8518f8f21f95a530dddb930 from main.
2025-02-10[5.2.x] Refs #35515 -- Fixed shell command verbose output when ↵Natalia
auto-importing 0 or 1 object. Co-authored-by: Salvo Polizzi <salvopolizzi03@gmail.com> Backport of 0597e8ad1e55b565292ead732916aa0e39bdf37b from main.
2025-02-10[5.2.x] Refs #35515 -- Refactored internal `get_and_report_namespace` in the ↵Natalia
shell command. Backport of 44ccd20375ba0d4da869ef994bc10a2311e9dc88 from main.
2025-01-09Fixed #35515 -- Added automatic model imports to shell management command.Salvo Polizzi
Thanks to Bhuvnesh Sharma and Adam Johnson for mentoring this Google Summer of Code 2024 project. Thanks to Sarah Boyce, David Smith, Jacob Walls and Natalia Bidart for reviews.
2024-06-27Fixed #35517, Refs #35515 -- Improved test coverage of shell command.Salvo Polizzi
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], )
2021-07-30Refs #32956 -- Updated words ending in -wards.David Smith
AP styleguide: Virtually none of the words ending with -wards end with an s.
2020-11-11Fixed #32183 -- Fixed shell crash when passing code with nested scopes.William Schwartz
2020-11-11Refs #25680 -- Added shell tests for globals available in passed commands.Mariusz Felisiak
2018-05-07Replaced django.test.utils.patch_logger() with assertLogs().Claude Paroz
Thanks Tim Graham for the review.
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-12Fixed #27721 -- Added interface name to shell's IPython/bython import error.Peter Inglesby
2016-12-21Fixed #27600 -- Suppressed the REPL during shell's reading from stdin.jpic
Thanks Adam Chainz for review and guidance.
2016-01-06Fixed #25680 -- Added django-admin shell --command option.Niels Van Och
Add a -c option to the shell command to execute a command passed as a string as Django.