summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-09-24Fixed #23550 -- Normalized get_queryset() of RelatedObjectDescriptorLoic Bistuer
and ReverseSingleRelatedObjectDescriptor so they actually return QuerySet instances. Also ensured that SingleRelatedObjectDescriptor.get_queryset() accounts for use_for_related_fields=True. This cleanup lays the groundwork for #23533. Thanks Anssi Kääriäinen for the review.
2014-09-24Consolidated some many_to_one tests.Loic Bistuer
2014-09-23Called table_names instead of get_table_list in migrationsClaude Paroz
2014-09-23Fixed #18782 -- Prevented sql_flush to flush viewsClaude Paroz
Thanks rodolfo_3 for the report and the initial patch, and Josh Smeaton, Shai Berger and Tim Graham for the reviews.
2014-09-23Fixed #23503 -- Fixed renaming of model with self-referential m2m field.Sergey Fedoseev
2014-09-23Fixed #23065 -- Quoted constraint names in SQL generated by migrations.Sergey Fedoseev
2014-09-23Consolidated some text utils into the utils_tests test package.Loic Bistuer
2014-09-23Merged custom_managers_regress into the custom_managers test package.Loic Bistuer
2014-09-23Merged custom_columns_regress into the custom_columns test package.Loic Bistuer
2014-09-23Merged one_to_one_regress into the one_to_one test package.Loic Bistuer
2014-09-21Fixed an i18n test with native stringClaude Paroz
Refs commit 11f307a5a8.
2014-09-21Fixed #23196 -- Short-circuited empty string translationYuri Kriachko
Translating an empty string used to return the gettext catalog metadata instead of the empty string. Thanks Ned Batchelder for the suggestion, Tim Graham for the review and Anton Berezin and Claude Paroz for contributions to the patch.
2014-09-19Fixed some flake8 errors.Tim Graham
Originally I added migrations to flake8 exclude because of long lines in migration files, but there are other directories named migrations we do want to check. We are not warning on line lengths yet anyway.
2014-09-19Fixed #23443 -- Corrected erroneous FieldError message.Thomas Chaumeny
Thanks Tim Graham for the review.
2014-09-18Fixed #23514 -- Prevented queries in PostGISOperations initClaude Paroz
Thanks Mattia Procopio for the report.
2014-09-17Fixed #23495 -- Stopped swallowing real settings import errorClaude Paroz
Thanks papaloizouc for the report.
2014-09-16Fixed #23492 -- Restored F.__deepcopy__.Baptiste Mispelon
This reverts commit 3a66035107a640c4905f0a5f247a45f32dbe16d7. A regression test was also added.
2014-09-16Fixed #19463 -- Added UUIDFieldMarc Tamlyn
Uses native support in postgres, and char(32) on other backends.
2014-09-15Fixed #23474 -- Prevented migrating backwards from unapplying the wrong ↵valtron
migrations.
2014-09-14Fixed occasional selenium test failure on Jenkins with Chrome 36+.Tim Graham
Previously find_element_by_id('id_password') on the next line failed with NoSuchElementException and selenium.page_source was <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>. Possibly related: https://code.google.com/p/selenium/issues/detail?id=1969.
2014-09-13Fixed #23397 -- Stripped whitespace from base64 during chunkingJason Hobbs
This insures the actual base64 content has a length a multiple of 4. Also added a test case for the failure.
2014-09-13Fixed #23466 -- Removed seconds from all locale time output formats.Malte Beckmann
2014-09-13Fixed #23461 -- Added EMAIL_TIMEOUT settingJosé Padilla
2014-09-12Fixed #23483 -- Prevented ImproperlyConfigured with dotted app namesSzilveszter Farkas
Made sure the app labels stay unique for the AppConfigStubs, so migrations wouldn't fail if two dotted app names has the same last part (e.g. django.contrib.auth and vendor.auth)
2014-09-12Fixed #17101 -- Integrated django-secure and added check --deploy optionTim Graham
Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews.
2014-09-10Fixed #20743 -- Added support for keyfile/certfile in SMTP connections.Andi Albrecht
Thanks jwmayfield, serg.partizan, and Wojciech Banaś for work on the patch.
2014-09-10Corrected grammar in migrations error message.Markus Bertheau
2014-09-10Fixed #23452 -- Prevented infinite migrations for empty unique/index_together.Markus Holtermann
Thanks fwkroon for the report.
2014-09-09Fixed urlize after smart_urlquote rewriteClaude Paroz
Refs #22267.
2014-09-09Fixed #22267 -- Fixed unquote/quote in smart_urlquoteClaude Paroz
Thanks Md. Enzam Hossain for the report and initial patch, and Tim Graham for the review.
2014-09-09Avoid the word "stupid".Aymeric Augustin
There's always a better word.
2014-09-09Fixed #23398 -- Added helpful error message when runserver is accessed via HTTPSFlavio Curella
2014-09-09Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't ↵Tim Graham
define get_absolute_url(). Thanks jukvalim for the report and initial patch, and Preston Timmons for review.
2014-09-08Fixed #23451 -- Fixed typo in inlineformset_factory() error message.Petras Zdanavičius
2014-09-08Fixed #22920 -- Avoid masking some exceptions.Aymeric Augustin
If loading an application trigger an ImportError, the details of that error were lost in some cases. Thanks Ben Davis for the report.
2014-09-08Added sorting to some admin_view tests to prevent transient failures; refs ↵Tim Graham
#23380.
2014-09-08Fixed broken test from da160d440f; refs #23418.Markus Holtermann
2014-09-08Fixed #23418 -- Fail when migration deconstruct produces invalid importMarkus Holtermann
2014-09-08Fixed #23431 -- Allowed inline and hidden references to admin fields.Simon Charette
This fixes a regression introduced by the 53ff096982 security fix. Thanks to @a1tus for the report and Tim for the review. refs #23329.
2014-09-08Fixed #22951 -- Checked for types during deep_deconstruct migration ↵Andrew Pinkham
serialization process. Thanks Sam Hartsfield for the report.
2014-09-06Fixed #23416 -- Make sure DatabaseCreation respects checks.Marc Tamlyn
Migrations respected Field.db_parameters()['check'], but DatabaseCreation was still using just Field.db_type().
2014-09-05Fixed #23380 -- Fixed flaky test: ↵Baylee Feore
admin_filters.tests.ListFiltersTests.test_relatedfield
2014-09-05Fix Python 3 incompatabilityAndrew Godwin
2014-09-05 switch out recursive dfs for stack based approach, to avoid possibly ↵Ben Reilly
hitting the recursion limit
2014-09-05Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting"Claude Paroz
This reverts commit 66757fee7e921ad4c35e0b3f80c25e026100b31c. Discussions have led to think that this functionality does not bring significant benefits to justify the added complexity. Read also discussions on ticket #22734.
2014-09-05Corrected deprecation warning silencing of SubfieldBase.Tim Graham
2014-09-03Fixed #18757, #14462, #21565 -- Reworked database-python type conversionsMarc Tamlyn
Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews.
2014-09-02Fixed #23302 -- Added --name/-n option to makemigrations commandRaffaele Salmaso
2014-09-02Fixed #22918 -- Fixed SeparateDatabaseAndState crashDave Hall
2014-08-31Fixed #23388 -- Made django.utils.timezone.override usable as a decoratorThomas Chaumeny