summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-09-21[4.0.x] Fixed #33083 -- Fixed selecting all items in the admin changelist ↵Carlton Gibson
when actions are both top and bottom. Thanks Benjamin Locher for the report. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b. Backport of b0ed619303d2fb723330ca9efa3acf23d49f1d19 from main
2021-09-21[4.0.x] Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() ↵Hasan Ramezani
when editing in admin change view. ModelAdmin.get_inlines() should get an unmutated object when creating formsets during POST request. Backport of 2f0f30f973363a59c20f204f9351724fb2ce7327 from main
2021-09-21[4.0.x] Refs #31026 -- Fixed forms_tests if Jinja2 is not installed.Mariusz Felisiak
Backport of 881a4799114fccefbc0f56c6524110ede2682e16 from main
2021-09-21[4.0.x] Fixed #33070 -- Fixed loading translations with language subtags in ↵Cleiton Lima
admin's Select2 widget. Backport of 8eb56930915f8022aa27ec29ab5be7d21764608c from main
2021-09-20Fixed #31026 -- Switched form rendering to template engine.David Smith
Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews. Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
2021-09-20Refs #33119 -- Added tests for changing model name case referenced by ↵AliGhotbizadeh
ManyToManyField. Fixed in aa4acc164d1247c0de515c959f7b09648b57dc42.
2021-09-18Fixed #33077 -- Fixed links to related models for admin's readonly fields in ↵Ken Whitesell
custom admin site.
2021-09-17Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on ↵Nikita Marchant
PostgreSQL.
2021-09-17Refs #31026 -- Added extra form render tests.David Smith
2021-09-17Refs #31026 -- Moved Template tests to separate class.David Smith
2021-09-17Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.Giannis Adamopoulos
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-16Refs #32074 -- Fixed find_module()/find_loader() warnings on Python 3.10+.Mariusz Felisiak
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
2021-09-14Fixed #33012 -- Added Redis cache backend.Daniyal
Thanks Carlton Gibson, Chris Jerdonek, David Smith, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews and mentoring this Google Summer of Code 2021 project.
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-10Fixed #31867 -- Made TabularInline handling of hidden fields with view-only ↵antoinehumbert
permissions consistent with StackedInline.
2021-09-10Fixed #33096 -- Fixed <form> nesting in technical 500 template.Jan Schär
This also prevents sending <form> tags in emails.
2021-09-09Fixed #33084 -- Removed incorrect system check for ManyToManyField with ↵Hasan Ramezani
limit_choices_to.
2021-09-08Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its ↵Siburg
verbose_name.
2021-09-08Refs #32219 -- Added admin model inline tests for verbose names.Siburg
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-08Fixed #30086, Refs #32873 -- Made floatformat template filter independent of ↵Mariusz Felisiak
USE_L10N.
2021-09-07Fixed #32076 -- Added async methods to BaseCache.Andrew-Chen-Wang
This also makes DummyCache async-compatible.
2021-09-07Refs #33060 -- Ensured cache backends validate keys.Nick Pope
The validate_key() function should be called after make_key() to ensure that the validation is performed on the key that will actually be stored in the cache. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-07Refs #33060 -- Added memcached test for make_key() making keys invalid.Mariusz Felisiak
2021-09-06Refs #32508 -- Raised TypeError/ValueError instead of using "assert" in ↵Mateo Radman
encode() methods of remaining password hashers.
2021-09-03Fixed #32975 -- Fixed admin system check for inlines with foreign keys to ↵taulant
proxy models.
2021-09-02Refs #31907 -- Fixed incorrect argument for delete_many() in cache tests.Nick Pope
2021-09-02Refs #33012 -- Moved PickleSerializer to django.core.serializers.base and ↵Daniyal Abbasi
added tests.
2021-09-02Fixed #33082 -- Fixed CommandTests.test_subparser_invalid_option on Python ↵Mariusz Felisiak
3.9.7+. Thanks Michał Górny for the report.
2021-09-02Fixed #33079 -- Fixed get_image_dimensions() on nonexistent images.Stefanos I. Tsaklidis
Thanks Nick Pope for the review.
2021-09-01Fixed #33073 -- Fixed queryset crash with aggregation and empty/extra ↵David Wobrock
queryset annotation.
2021-09-01Fixed #33080 -- Preserved nullability of textual fields on Oracle.Mariusz Felisiak
Thanks Matt Hoskins for the report.
2021-09-01Fixed typo in tests/schema/tests.py docstrings.Mariusz Felisiak
2021-09-01Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern.Alex Hayward
get_language_from_request() uses Accept-Language and/or Cookie to determine the correct redirect. Upstream caches need the matching Vary header to cache the result.
2021-09-01Fixed #32309 -- Added --exclude option to startapp/startproject management ↵sage
commands.
2021-09-01Refs #32309 -- Added test for excluding hidden directories in startproject ↵sage
command.
2021-08-31Fixed #33057 -- Fixed recreation of foreign key constraints in m2m tables ↵Mariusz Felisiak
when altering type of referenced primary key on Oracle.
2021-08-31Fixed #25264 -- Allowed suppressing base command options in --help output.Jan Szoja
This also suppresses -verbosity and --trackback options in the runserver's help.
2021-08-31Refs #25264 -- Added test for command --help output with default options and ↵Jan Szoja
custom arguments.
2021-08-31Fixed #33061 -- Fixed handling nonexistent keys with negative deltas in ↵Sondre Lillebø Gundersen
incr()/decr() in memcached backends. Thanks Chris Jerdonek for the review.
2021-08-31Refs #33061 -- Added DummyCache.incr()/decr() tests for nonexistent keys ↵Sondre Lillebø Gundersen
with negative deltas.
2021-08-30Fixed #24900 -- Allowed migrating backward to squashed migrations.Jacob Walls
2021-08-30Refs #24900 -- Added MigrationLoader test for applying squashed migrations.Jacob Walls
2021-08-30Fixed #32992 -- Restored offset extraction for fixed offset timezones.Carlton Gibson
Regression in 10d126198434810529e0220b0c6896ed64ca0e88.
2021-08-30Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks ↵Eugene Morozov
recursively.
2021-08-27Fixed #32900 -- Improved migrations questioner prompts.Mateo Radman
2021-08-27Refs #32900 -- Added makemigrations tests for messages in interactive mode.Mateo Radman
2021-08-27Refs #32900 -- Added test for ignoring the default value in ↵Mateo Radman
InteractiveMigrationQuestioner.ask_not_null_alteration().
2021-08-27Fixed #33051 -- Fixed highlighting the current model in admin's sidebar with ↵Hasan Ramezani
non-ASCII model names.
2021-08-27Refs #32338 -- Made RadioSelect/CheckboxSelectMultiple render in <div> tags.David Smith
This improves accessibility for screen reader users.