summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-05-04Fixed #28161 -- Fixed return type of ArrayField(CITextField()).Simon Charette
Thanks Tim for the review.
2017-05-03Added a test for ArrayField(HStoreField()).Simon Charette
2017-05-03Converted sessions_tests to use assertIs() rather than assertTrue/False().Tim Graham
2017-05-03Fixed #28167 -- Fixed cache backend's SessionStore.exists() if session_key ↵Tim Graham
is None.
2017-05-03Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child ↵Tim Graham
model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29.
2017-05-03Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using ↵Alexander Kavanaugh
save_as_new. Regression in 4a246a02bdcbc13b15480c014f51cb0682af7c1e.
2017-05-03Fixed #28157 -- Fixed choice ordering in form fields with grouped and ↵Tim Graham
non-grouped options. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-05-01Refs #28052 -- Cleaned up some indexes in schema tests.Tim Graham
2017-05-01Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.Markus Holtermann
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
2017-05-01Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.Ian Foote
2017-05-01Refs #27795 -- Reworked get_or_create test erroneously mixing bytes and str.Jon Dufresne
As CharField.to_python() now always calls str(), assigning bytes to a CharField is no longer correct usage. Doing so results in a warning: django/db/models/fields/__init__.py:1061: BytesWarning: str() on a bytes instance Use a unique constraint violation to trigger the database error instead. Warning introduced in 301de774c21d055e9e5a7073e5bffdb52bc71079.
2017-04-30Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when ↵Dylan Verheul
overriding existing attrs.
2017-04-29Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.Tim Graham
Thanks Preston Timmons for review.
2017-04-29Removed blank line in tests/model_fields/test_decimalfield.py per isort.Tim Graham
2017-04-28Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.Tim Graham
Regression in f5c6295797b8332134fd89e0209a18a1d1d45e0c.
2017-04-28Refs #6767 -- Added test for fetching decimal values without rounding error ↵Mariusz Felisiak
on Oracle.
2017-04-26Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.pyTim Graham
The is_iterator() function was removed in 2456ffa42c33d63b54579eae0f5b9cf2a8cd3714.
2017-04-25Fixed #27996 -- Added RandomUUID function and CryptoExtension to ↵Paolo Melchiorre
contrib.postgres.
2017-04-25Alphabetized CITextExtension in test migration.Paolo Melchiorre
2017-04-25Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s ↵Tim Graham
template.
2017-04-25Added test for reraising backend-specific database exceptions.Mariusz Felisiak
2017-04-25Fixed #28116 -- Used error code filtering in PostgreSQL test database creation.Mariusz Felisiak
Thanks Claude Paroz and Tim Graham for reviews.
2017-04-24Renamed "Mac OS X" to "macOS" in docs.Michiel Beijen
2017-04-24Fixed #28120 -- Checked that CharField.max_length is not a boolean.Carles Pina Estany
2017-04-24Removed obsolete Widget.format_output() in tests.Tim Graham
Obsolete since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-04-23Fixed #28101 -- Fixed a regression with nested __in subquery lookups and ↵Simon Charette
to_field. Thanks Kristian Klette for the report and Tim for the help.
2017-04-22Fixed #28115 -- Fixed IP address validation in geoip2 moduleClaude Paroz
Regression in 277a4dd4b4cc2a2cad77139882f084480751a95a. Thanks Tim Graham for the test.
2017-04-22Fixed #28109 -- Corrected the stack level of unordered queryset pagination ↵Simon Charette
warnings. Refs #26290. Thanks Tim for the review.
2017-04-21Fixed #28075 -- Prevented ChoiceWidget from localizing option values.Jon Dufresne
2017-04-20Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets().Tim Graham
2017-04-20Fixed #28059 -- Restored class attribute in <ul> of widgets that use ↵Tim Graham
multiple_input.html. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2017-04-19Fixed #28096 -- Allowed prefetch calls with ModelIterable subclassesClaude Paroz
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1. Thanks Tim Graham for the review.
2017-04-19Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.Tim Graham
2017-04-18Refs #28066 -- Fixed nondeterministic ordering test failure in sessions_tests.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-04-17Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data.InvalidInterrupt
2017-04-17Fixed #28058 -- Restored empty BoundFields evaluating to True.Tim Graham
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2017-04-15Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML ↵Tim Graham
debug page. Regression in 7b6dccc82fa5b03cf431742c0655e5ac954e228e
2017-04-13Refs #25406 -- Removed exception hiding in MySQL test database creation ↵Mariusz Felisiak
during --keepdb. Thanks Adam Johnson, Simon Charette and Tim Graham for reviews.
2017-04-12Fixed #28007 -- Moved debug templates to the filesystemClaude Paroz
Thanks Tim Graham for the review.
2017-04-12Tested template info in debug view's text tracebackClaude Paroz
2017-04-11Fixed #28064 -- Removed double-quoting of key names in MultiValueDictKeyError.petedmarsh
2017-04-11Updated docs after changing select_for_update() to raise NotSupportedError.Ran Benita
Follow up to 054a44d6f0f75395bd02a21e31ea904a24750a2b.
2017-04-10Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to ↵Sergey Fedoseev
another one.
2017-04-10Fixed #25406 -- Removed exception hiding in PostgreSQL test database ↵Mariusz Felisiak
creation during --keepdb. Thanks Markus Holtermann and Tim Graham for reviews.
2017-04-10Used NotSupportedError instead of DatabaseError in SQLCompiler.as_sql().Mariusz Felisiak
2017-04-10Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a ↵Tim Graham
OneToOneField pk. Regression in 1bc249c2a67c24fcd28436c85388eff1d826e305.
2017-04-10Changed assertQuerysetEqual()s that use default Model.__str__() to ↵Collin Anderson
assertSequenceEqual().
2017-04-10Refs #26605 -- Isolated a migrations state test.Tim Graham
2017-04-07Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's ↵kalombo
attachments arg.
2017-04-07Tested EmailMessage(attachments=[MIMEText])kalombo