summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-06-05Cleanup: Removed the try-except-fail antipattern from testsShai Berger
Found cases where testing code was doing try: whatever except (some excption type): self.fail("exception shouldn't be thrown") replaced it with just whatever as this makes the unexpected errors easier to debug, and the tests would fail just as much and aren't rendered less readable. Thanks Markus Holtermann for review
2015-06-05Merge pull request #4786 from coldmind/refs_22728Marc Tamlyn
Refs #22728 - Added missing tests for defaults__exact case
2015-06-05Refs #22728 - Added missing tests for defaults__exact caseAndriy Sokolovskiy
2015-06-05Added comment to test_query_clone indicating lack of assert is intentional.Michael Manfre
2015-06-04Fixed #22316 -- Added time filters to TimeField on SQLite.Matthew Somerville
This was implemented for non-SQLite backends in 1.7 (as a side effect of #16187).
2015-06-04Fixed #19210 -- Added leap year support to django.utils.timesince()Raphael Michel
2015-06-04Fixed #24474 -- Allowed configuring the admin's empty change list value.Loek van Gent
2015-06-04Fixed #24159 -- Made compilemessages run across all apps.Matthew Somerville
Updated the command to match the documentation, which states it runs over all .po files.
2015-06-04Fixed #24837 -- field__contained_by=RangeMarc Tamlyn
Provide `contained_by` lookups for the equivalent single valued fields related to the range field types. This acts as the opposite direction to rangefield__contains. With thanks to schinckel for the idea and initial tests.
2015-06-04Fixed #24728 -- Renamed mime_type to content_type for syndication feedsRaphael Michel
Renamed the mime_type properties of RssFeed and Atom1Feed to content_type and start deprecation for the old names.
2015-06-04Fixed #18166 -- Added form_kwargs support to formsets.Sergei Maertens
By specifying form_kwargs when instantiating the formset, or overriding the `get_form_kwargs` method on a formset class, you can pass extra keyword arguments to the underlying `Form` instances. Includes tests and documentation update.
2015-06-04Fixed #24677 -- Made TextField.to_python() return a string.Rolo
This is consistent with CharField.
2015-06-03Cleaned up docstring style, per Tim Graham review.Carl Meyer
2015-06-03Refs #24628 -- Added a second test and a docstring comment to avoid regression.Carl Meyer
2015-06-03Removed unnecessary postgres logic in runtests.pyTim Graham
Obsolete after 36e90d1f45a13f53ce25fdc2d9c04433b835c9af
2015-06-02Applied db_table conversion to fix schema tests on Oracle.Tim Graham
2015-06-02Fixed #24628 -- Fixed applied status for squashed migrations.Carl Meyer
2015-06-02Improved isolation of applied-migrations table in migration tests.Carl Meyer
2015-06-02Fixed #24866 -- Added Now() database functionAdam Chainz
2015-06-02Fixed #24230 -- Added translated language name for i18n template tag/filter.Tomáš Ehrlich
2015-06-02Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency.Carl Meyer
2015-06-02Fixed #24897 -- Allowed using choices longer than 1 day with DurationFieldzauddelig
2015-06-02Fixed #24831 -- Fixed pickling queryset with prefetch_related() after ↵Andriy Sokolovskiy
deleting objects.
2015-06-02Fixed #24893 -- Fixed lack of unique constraint when changing a field from ↵Tim Graham
primary_key=True to unique=True
2015-06-02Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in ↵Tim Graham
PostgreSQL
2015-06-02Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne
2015-06-01Fixed #24883 -- Added MigrationGraph.__repr__()Yoong Kang Lim
2015-06-01Ref #23643 -- Added plain text report of exception chain.Tomáš Ehrlich
2015-05-30Fixed #24699 -- Added aggregate support for DurationField on OracleJosh Smeaton
2015-05-30Fixed #24846 -- Added support to MySQL SchemaEditor for all blob/text data typesAdam Chainz
2015-05-30Name PostgreSQL correctly.Marc Tamlyn
2015-05-30Fixed #24604 -- Added JSONField to contrib.postgres.Marc Tamlyn
2015-05-30Add HasAnyKeys lookup for HStoreField.Marc Tamlyn
2015-05-29Refs #23643 -- Fixed debug view regression on Python 2.Luca Ferroni
Thanks Tomáš Ehrlich for help with the patch.
2015-05-28Fixed #24851 -- Fixed crash with reverse one-to-one relation in ↵Tim Graham
ModelAdmin.list_display Forwardport of 2456276b0250c9f21d580ca6c3f3c86345ad6370 from stable/1.8.x
2015-05-28Fixed #24817 -- Prevented loss of null info in MySQL field renaming.Andriy Sokolovskiy
2015-05-27Fixed #24847 -- Prevented items set on a RequestContext from being lost.Paweł Marczewski
2015-05-27Fixed #24836 -- Made force_text() resolve lazy objects.Tim Graham
2015-05-26Fixed #24340 -- Added nested deconstruction for list, tuple and dict valuesMatt Westcott
Nested deconstruction should recursively deconstruct items within list, tuple and dict values.
2015-05-25Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()Paweł Marczewski
QuerySet.exists() incorrectly handled query.group_by = True case (grouping by all select fields), causing GROUP BY expressions to be wiped along with select fields.
2015-05-25Fixed #24788 -- Allowed Forms to specify a prefix at the class level.Paweł Marczewski
2015-05-25Refs #24652 -- Fixed a test failure in file_uploads tests on Windows.Simon Charette
Thanks to Tim Graham for the report.
2015-05-25Fixed #24848 -- Fixed ValueError for faulty migrations module.Marten Kenbeek
Added apps to unmigrated apps if the migrations module is a file or a folder missing __init__.py. Thanks to Ernest0x for the bug report.
2015-05-25Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's ↵Villiers Strauss
prepare_value()
2015-05-25Fixed #24773 -- Added a json() method on test client responses.Andy McKay
2015-05-24Fixed forms import.Florian Apolloner
2015-05-24Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi
2015-05-22Fixed #24826 -- Accounted for filesystem-dependent filename max lengthClaude Paroz
Thanks Raphaël Hertzog for the report and help on the patch, and Tim Graham for the review.
2015-05-22Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted ↵Alexander Sosnovskiy
objects.
2015-05-22Fixed #24776 -- Improved apps.get_app_config() error message on ↵Peter Inglesby
fully-qualified package names.