summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-07-15Fixed #23008 -- Fixed typo causing bad migration dependencies.Tim Graham
Thanks semenov for the report and Florian for investigation.
2014-07-15Fixed #22991 -- Prevented *.pyc files in autoreload monitoringClaude Paroz
This fixes a regression introduced in 6d302f639. Thanks lorinkoz at gmail.com for the report, Collin Anderson for the initial patch and Simon Charette for the review.
2014-07-14Fixed #23005 -- Allowed specifying special fallback languagesClaude Paroz
This fixes the Chinese language issues described in #23005 but also provides for other fallback exceptions by updating the LANG_INFO structure. Thanks caxekis at gmail.com for the report and Tim Graham for the review.
2014-07-14Fixed name of database connection featureShai Berger
2014-07-14Fixed #22791 -- Invoke interactive questioner only for conflicts in ↵Huu Nguyen
specified apps. Thanks bendavis78 for the report and Tim Graham for the review.
2014-07-14Fixed #22992 -- regression in .filter(generic_fk=...) error messageAnssi Kääriäinen
Generic Foreign Keys can't be used as lhs in lookups for historical reasons. Django 1.6 gave a FieldDoesNotExist exception when using GFKs as lhs in lookups, but due to regression caused by lookup refactor patch (20bab2cf9d02a5c6477d8aac066a635986e0d3f3) the exception type was changed to AttributeError. It might be a good idea to add support for gfk__exact and gfk__in lookups later on. Thanks to glicerinu@gmail.com for the report. The code in this commit was written by Tim Graham.
2014-07-14Fixed #22994 -- regression with generic FK + admin list_viewAnssi Kääriäinen
The reason for the regression was that the GenericForeignKey field isn't something meta.get_field_by_name() should return. The reason is that a couple of places in Django expects get_field_by_name() to work this way. It could make sense to return GFKs from get_field_by_name(), but that should likely be done as part of meta refactoring or virtual fields refactoring patches. Thanks to glicerinu@gmail.com for the report and to Tim for working on the issue.
2014-07-14Fixed #22789 -- Deprecated django.contrib.webdesign.Tim Graham
Moved the {% lorem %} tag to built-in tags.
2014-07-12Fixed #22939 -- Delayed admin_static backend detectionClaude Paroz
Thanks generalov for the report.
2014-07-10Fix commentAndrew Godwin
2014-07-09Fixed #22970: Incorrect dependencies for existing migrated appsAndrew Godwin
2014-07-10Fixed #22988 -- Adjusted an introspection test assertion.Josh Smeaton
Also changed test to use assertNotIn.
2014-07-09Fixed #19671 -- Added warnings that null and validators are ignored for ↵Anubhav Joshi
ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review.
2014-07-09Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.Tim Graham
Thanks sebastien at clarisys.fr for the report and gautier for the patch.
2014-07-09Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz
And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review.
2014-07-08Added a unit test to ensure models cannot be ordered by a M2M field.Daniel Pyrathon
2014-07-07Removed unnecessary directory in dispatch tests.Tim Graham
2014-07-07Fixed flake8 errors.Tim Graham
2014-07-07Fixed #22909 -- Removed camelCasing in some tests.Tim Graham
Thanks brylie.
2014-07-06Fixed pyinotify performance regression in 15f82c7011Claude Paroz
Refs #9722. Thanks Tim Graham for the review.
2014-07-06Fixed #21079 -- Further normalized table names in inspectdbClaude Paroz
Thanks Michael Manfre for the report and Tim Graham for the review.
2014-07-06Fixed #22906 -- Added a more helpful repr to migrations' ModelState.Loic Bistuer
Thanks Collin Anderson for the report and original patch.
2014-07-05Updated tests per previous commit.Tim Graham
2014-07-05Merge pull request #2881 from ↵Andrew Godwin
charettes/ticket-22943-compiled-regex-deconstruction Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05Fixed #22960: Bad handling of relations as PKs in autodetectorAndrew Godwin
2014-07-05Fixed #22950 -- Eased markup customization for choice field renderingClaude Paroz
Thanks Patrick Robertson for the report.
2014-07-05Ensured bound field renders as unicode safe dataClaude Paroz
Refs #22950.
2014-07-04Corrected domain max length for EmailValidator; refs #20631.Tim Graham
Thanks MarkusH for the report.
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-07-04Fixed #22943 -- Correctly serialize compiled regexes.Simon Charette
Thanks to antialiasis at gmail dot com for the patch.
2014-07-04Fixed #22915 -- Document backward incompatible changes in the ↵Loic Bistuer
ValidationError constructor. This patch also fixes update_error_dict to better handle the use case described in this ticket, previously the type of the provided container could be lost in some conditions. Thanks Russell Keith-Magee for the report and Tim Graham for review.
2014-07-04Updated urlize regex following a93ee5112d4LarryBrid
Prevent urlize from turning some.organization, an.intern etc. into urls. Refs #22941.
2014-07-02Fixed #22941 - Added support for domain-only links with chars after the TLD ↵LarryBrid
to urlize. It now works with something like google.com/foo/bar
2014-07-02Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to ↵Anubhav Joshi
refer to correct field. Thanks Tim Graham for suggestion and review.
2014-07-02Fixed #22940 -- Added missing string iterpolation parameters in ↵Colin Wood
migrations.writer error. Forwardport of f5740af868 from stable/1.7.x
2014-07-02assertEquals -> assertEqualTim Graham
2014-07-01Fixed #22691 -- Added aliasing to cached_property.Curtis
2014-07-01Fixed #14334 -- Query relation lookups now check object types.Anubhav Joshi
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews.
2014-06-30Fixed #22756 -- Added view name to technical 404 template if Http404 is raised.Julia Matsieva
Thanks Keryn Knight for the suggestion.
2014-06-30Fixed problem with refs #10811.Anubhav Joshi
When 'to_field' is specified with a FK, then we need to check the pk value the object.
2014-06-30Added spaces to message from 4c39c270af91ddbc213e077fc06b4bf67c7c6e99.Tim Graham
2014-06-27Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().Tim Graham
2014-06-26Fixed #22894 -- Made admin add related/raw ID fields widgets customizable.Riccardo Magliocchetti
Decoupled behavior and style from the RelatedFieldWidgetWrapper and ForeignKeyRawIdWidget.
2014-06-25Split tests.basic.ModelTests in several tests; refs #18586.zsoldosp
2014-06-25Fixed #22903 -- Fixed migration generation if index_together or ↵Tim Graham
unique_together is removed from a model.
2014-06-25Removed unused variable.Tim Graham
2014-06-25Fixed #22050 -- Fixed defer fields on proxy related models.Lovas Bence
2014-06-25Fixed #20128 -- Made CsrfViewMiddleware ignore IOError when reading POST data.Tim Graham
Thanks Walter Doekes.
2014-06-24Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a ↵Duncan Parkes
MultiValueDict. Previously, GET, POST, and FILES on an HttpRequest were created in the __init__ method as dictionaries. This was not something you would usually notice causing trouble in production as you'd only see a WSGIRequest, but in testing using the test client, calling .getlist on GET, POST, or FILES for a request with no get/post data resulted in an AttributeError. Changed GET and POST on an HttpRequest object to be mutable QueryDicts (mutable because the Django tests, and probably many third party tests, were expecting it).
2014-06-24Fixed #22897 -- Made QueryDict query_string argument optional.Duncan Parkes
Now QueryDict() is equivalent to QueryDict('') or QueryDict(None).