summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-06-30[1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().Jon Dufresne
field_for_model() now has an additional keyword argument, apply_limit_choices_to, allowing it to continue to be used to create form fields dynamically after ModelForm.__init__() is called. Thanks Tim Graham for the review. Backport of a1be12fe193c8f3de8a0b0820f460a302472375f from master
2017-06-30[1.11.x] Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with ↵Simon Charette
nonexistent field. Thanks Tim for the review. Backport of 5cbcb3683964205ce023157ca181d05a31be2ab5 from master
2017-06-22[1.11.x] Fixed #28298 -- Prevented a primary key alteration from adding a ↵Josh Schneier
foreign key constraint if db_constraint=False. Backport of fba0eaa5d60603721d7b4653e3efacbfb3613bd2 from master
2017-06-22[1.11.x] Simplified schema.tests with ↵Mariusz Felisiak
assertForeignKeyExists()/assertForeignKeyNotExists(). Backport of 663d1c316070af80a41f136b76308f21993537e4 from master
2017-06-17[1.11.x] Fixed #28176 -- Restored the uncasted option value in ChoiceWidget ↵Tim Graham
template context. Backport of 221e6e18177516ac4ac95e40c344b93d14dd607b from master
2017-06-17[1.11.x] Fixed #28303 -- Prevented localization of attribute values in the ↵Tim Graham
DTL attrs.html widget template. Backport of 3b050fd0d0b8dbf499bdb44ce12fa926298c0bd0 from master
2017-06-14[1.11.x] Refs #24423 -- Readded inadvertently deleted i18n tests.Claude Paroz
Mistake in 97c1931c4f610e80053430d0297d51e1bed1e7ae. Backport of 357a6428980961b2c5311eb75d16229c7fc0d982 from master
2017-06-13[1.11.x] Fixed #28229 -- Fixed the value of LoginView's "next" template ↵Mikhail Golubev
variable. Backport of e7dc39fb65e51d7613c941f7e5768b621dea4e76 from master
2017-06-13[1.11.x] Fixed #28284 -- Prevented Paginator's unordered object list warning ↵orf
from evaluating a QuerySet. Backport of a118287bca65f2e5da110c89509941c677ebc2e1 from master
2017-06-13[1.11.x] Fixed #28293 -- Fixed union(), intersection(), and difference() ↵Mariusz Felisiak
when combining with an EmptyQuerySet. Thanks Jon Dufresne for the report and Tim Graham for the review. Backport of 82175ead723f8fa3f9271fbd4b24275097029aab from master
2017-06-12[1.11.x] Fixed #27967 -- Fixed KeyError in admin's inline form with ↵Paulo
inherited non-editable pk. Thanks Robin Anupol for the initial report and workaround. Backport of 9dc83c356d363c090f3351c908cad6f823aeb7bf from master
2017-06-08[1.11.x] Fixed #28282 -- Fixed class-based indexes name for models that only ↵Jon Dufresne
inherit Model. Backport of 0c3c37a376bac149fe7e7e4b2696f8fb7990e2ab from master
2017-06-06[1.11.x] Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.kakulukia
Backport of 525dc283a68c0d47f5eb2192cc4a20111d561ae0 from master
2017-06-06[1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on ↵Paulo
invalid input. Backport of 4ad2f862844d35404e4798b3227517625210a72e from master
2017-06-05[1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a ↵Paulo
nested reverse relation is in list_filter. Backport of b7f99f84bcc4a06114ac31174840efab0aef7602 from master
2017-06-05[1.11.x] Fixed #28269 -- Fixed Model.__init__() crash on models with a field ↵Adam Johnson
that has an instance only descriptor. Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86. Backport of ed244199c72f5bbf33ab4547e06e69873d7271d0 from master
2017-06-05[1.11.x] Added a test for Model._meta._property_names.Adam Johnson
Backport of 36f09c8a29eaad6a7e903ddc3ea1e8b5954ee67a from master
2017-06-03[1.11.x] Refs #28192 -- Fixed documentation of ChoiceField choices requirementClaude Paroz
Thanks Tim Graham for noticing the issue. Backport of 54caca2d34c7cb6807da0a82bcec7b3a679ac104 from master.
2017-06-02[1.11.x] Fixed #26755 -- Fixed test_middleware_classes_headers if Django ↵Chris Lamb
source isn't writable. Backport of 2ec56bb78237ebf58494d7a7f3262482399f0be6 from master
2017-06-02[1.11.x] Fixed #28265 -- Prevented renderer warning on Widget.render() with ↵Jon Dufresne
**kwargs. Backport of 29a518006f7f96186483fa50e249e1c3f21728d5 from master
2017-06-01[1.11.x] Sorted imports per isort 4.2.9.Tim Graham
Backport of cde31daf8815e05b4b86b857b49fb0e31e1f0a38 from master
2017-06-01[1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the ↵Manatsawin Hanmongkolchai
form field. Backport of a0c07d77fc313388c72a17cd59411265069f037f from master
2017-05-31[1.11.x] Fixed a forms test after updated translations.Tim Graham
Backport of 84fb50df670c8126983c9f0fd4a5c30dbe57b684 from master
2017-05-31[1.11.x] Fixed #28170 -- Fixed file_move_safe() crash when moving files to a ↵Derrick Jackson
CIFS mount. Backport of 789c290150a0a5e7312e152df281dbcaf4ec174e from master
2017-05-30[1.11.x] Fixed #28212 -- Allowed customizing the port that ↵Robert Rollins
LiveServerTestCase uses.
2017-05-30[1.11.x] Fixed AppRegistryNotReady error when running gis_tests in isolation ↵Tim Graham
on PostGIS. Regression in 890537253cf235091816d27a5c2fb64943c8e34a. Backport of 4a251f8bce2e65a445fb2c46c2f71f763311c0ac from master
2017-05-30[1.11.x] Fixed #28209 -- Made date-based generic views return a 404 rather ↵Adit Biswas
than crash when given an out of range date. Backport of c2eea61dff44b16caab04928d582b856c2b8b615 from master
2017-05-30[1.11.x] Fixed gis_tests.geoapp test with incorrect geodetic coordinates.Mariusz Felisiak
The latitude coordinates exceed -90, 90 bounds and caused a test failure on Oracle 12.2. Thanks Michał Wierzbowski for help preparing the patch. Backport of 037d6540ecb7a60dca99162f6adedb2d879fa3ff from master
2017-05-30[1.11.x] Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST.Tim Graham
Thanks Simon Charette for the fix. Backport of f04495521ade8a2befc1aca70dd0a2c7aad4c987 from master
2017-05-29[1.11.x] Fixed #28204 -- Fixed MultipleObjectMixin.paginate_queryset() crash ↵Tim Graham
on Python 2 if InvalidPage message contains non-ASCII.
2017-05-27[1.11.x] Fixed #28222 -- Allowed settable properties in ↵Alex
QuerySet.update_or_create()/get_or_create() defaults. Backport of 37ab3c3f9d707d6a1896db79c631e920dcb1fb78 from master
2017-05-22[1.11.x] Fixed #28230 -- Allowed DjangoJsonEncoder to serialize CallableBool.vinay karanam
2017-05-22[1.11.x] Refs #28207 -- Fixed contrib.auth.authenticate() if 'backend' is in ↵Daniel Hahler
the credentials. Regression in 3008f30f194af386c354416be4c483f0f6b15f33. Backport of a3ba2662cdaa36183fdfb8a26dfa157e26fca76a from master
2017-05-19[1.11.x] Fixed #28210 -- Fixed Model._state.adding on MTI parent model after ↵Tim Graham
saving child model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29. Backport of 59ab1b2683b6c090dc409d9eb8303aadbd590c04 from master
2017-05-15[1.11.x] Fixed #28197 -- Fixed introspection of index field ordering on ↵Tim Schneider
PostgreSQL. Backport of 3a5299c19cd5a38f7fa0f45ed2df7b10f0c9cf5d from master
2017-05-15[1.11.x] Fixed #28207 -- Fixed contrib.auth.authenticate() if multiple auth ↵Tamas Szabo
backends don't accept a request. Backport of 3008f30f194af386c354416be4c483f0f6b15f33 from master
2017-05-11[1.11.x] Fixed #28188 -- Fixed crash when pickling model fields.Tim Graham
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86. Thanks Adam Alton for the report and test, and Adam Johnson for suggesting the fix. Backport of a9874d48b1b9d91988b9f299726ec4f559fb2f75 from master
2017-05-10[1.11.x] Fixed db backend discovery in admin_scripts tests.Florian Apolloner
Not all backends have dots in them. Backport of 60f51290766dae16abfb60459940de51fa5c5b2f from master
2017-05-10[1.11.x] Fixed #28142 -- Fixed is_safe_url() crash on invalid IPv6 URLs.UmanShahzad
Backport of 856072dd4a3e479aa09b0ab6b498ff599ca2a809 from master
2017-05-09[1.11.x] Refs #28160 -- Skipped a GeoManager test if not using a GIS ↵Tim Graham
database backend. The test errors if GDAL isn't installed.
2017-05-09[1.11.x] Refs #22397 -- Removed model in test cleanupMarkus Holtermann
The test was failing when using --keepdb due to a pre-existing PonyStables model. Thanks Florian Apolloner for the report Backport of 8e352876c337332b45a72da8bbccad2830c7b1e0 from master.
2017-05-06[1.11.x] Fixed #28062 -- Added a setting to disable server-side cursors on ↵François Freitag
PostgreSQL. When a connection pooler is set up in transaction pooling mode, queries relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS setting in DATABASES disables server-side cursors for this use case. Backport of 88336fdbb5e101fa25825b737169c0d6af2faa93 from master
2017-05-05[1.11.x] Fixed #28175 -- Fixed __in lookups on a foreign key when using the ↵Tim Graham
foreign key's parent model as the lookup value. Thanks Simon Charette for review. Backport of d66378a8b2d48d41b56ba3622189493e4edf9e5a from master
2017-05-04[1.11.x] Fixed #28160 -- Prevented hiding GDAL exceptions when it's not ↵Tim Graham
installed. Backport of 2dc3280254ae06ca1fe664abf55749fe12a699d4 from master
2017-05-04[1.11.x] Made runtests.py run gis_tests only when using a GIS database backend.Tim Graham
This facilitates other changes like refs #28160. Backport of 890537253cf235091816d27a5c2fb64943c8e34a from master
2017-05-04[1.11.x] Fixed #27554 -- Fixed prefetch_related() crash when fetching ↵François Freitag
relations in nested Prefetches. Backport of c0a2b9508aa2c6eaa22e9787010276edca887f0b from master
2017-05-04[1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).Simon Charette
Thanks Tim for the review. Backport of b91868507af08234a30e9a8e7c90b37c561ba315 from master.
2017-05-03[1.11.x] Fixed #28166 -- Fixed Model._state.db on MTI parent model after ↵Tim Graham
saving child model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29. Backport of 584e10c76edcd3a33765a52c5cde0096a3ce7dbc from master
2017-05-03[1.11.x] Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash ↵Alexander Kavanaugh
when using save_as_new. Regression in 4a246a02bdcbc13b15480c014f51cb0682af7c1e. Backport of 362fba87c9bb4f88542ba82ce4a732fed2634be7 from master
2017-05-03[1.11.x] Fixed #28157 -- Fixed choice ordering in form fields with grouped ↵Tim Graham
and non-grouped options. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of d302e2c09c281e6b1e187f704f656e5e79e69246 from master