summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-09-14[1.6.x] Added tests for double-pickling a QuerySetAnssi Kääriäinen
Refs #21102. Backpatch of 74b91b3888383fca28dea00e0e1ffb5aecec7c0f
2013-09-10[1.6.x] Prevented arbitrary file inclusion with {% ssi %} tag and relative ↵Tim Graham
paths. Thanks Rainer Koirikivi for the report and draft patch. This is a security fix; disclosure to follow shortly. Backport of 7fe5b656c9 from master
2013-09-10[1.6.x] Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
Backport of 6a6428a36 from master.
2013-09-08[1.6.x] Further hardening. Refs #18766.Aymeric Augustin
Backport of c687bf0 from master.
2013-09-08[1.6.x] Hardened the test introduced in ded11aa6. Refs #18766.Aymeric Augustin
Inputs acceptable to time.mktime are platform-dependent. Backport of 1a1e1478 from master.
2013-09-08[1.6.x] Fixed #18766 -- Pointed to pytz when LocalTimezone fails.Aymeric Augustin
Thanks void for the report. Backport of ded11aa6 from master.
2013-09-07[1.6.x] Fixed deprecation warning on Python 3Tim Graham
Backport of b7451b72 from master.
2013-09-07[1.6.x] Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3.Aymeric Augustin
Thanks mitsuhiko for the report. Backport of 65b6eff3 and adaptation of 8aaca65 from master.
2013-09-07[1.6.x] Fixed #20557 -- Properly decoded non-ASCII cookies on Python 3.Aymeric Augustin
Thanks mitsuhiko for the report. Non-ASCII values are supported. Non-ASCII keys still aren't, because the current parser mangles them. That's another bug. Simplified backport of 8aaca651 and f5add47 from master.
2013-09-06[1.6.x] Fixed #11811 -- Data-loss bug in queryset.update.Aymeric Augustin
It's now forbidden to call queryset.update(field=instance) when instance hasn't been saved to the database ie. instance.pk is None. Conflicts: tests/queries/tests.py Backport of b4cd8169 from master.
2013-09-06Merge pull request #1566 from adamsc64/ticket_11857Russell Keith-Magee
Fixed #11857 -- Added missing 'closed' property on TemporaryFile class. Backport of 926bc42 from trunk.
2013-09-06[1.6.x] Merge pull request #1582 from ↵Russell Keith-Magee
rca/12756-missing-yaml-module-serializer-error-message Fixed #12756: Improved error message when yaml module is missing. Backport of 4f5faa1916e7c8cb72cc9ebf1a1fd964ba6e707b from master.
2013-09-06[1.6.x] Merge pull request #1580 from ianawilson/ticket_16502Russell Keith-Magee
Fixed #16502 -- Fixed a TemplateDoesNotExist error that should be an ImproperlyConfigured. Assistance on the patch from #jambronrose. Backport of 9b2dc12b8332389d1bfb9e83123a088a084a6a47 from master.
2013-09-06Merge pull request #1579 from ianawilson/ticket_21058Russell Keith-Magee
[1.6.x] Fixed #21058 -- Fixed debug view blowing up when no template is provided to the template rendering functions. Assistance on this commit from @jambonrose. Backport of 122020fdb93980df850ae02f61d97da27e2cb515 from master.
2013-09-05[1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'. Backport of 4d13cc56de from master
2013-09-05[1.6.x] Fixed #21041 -- Removed a duplicate form in tests.Tim Graham
Thanks tuxcanfly. Backport of bab039d74c from master
2013-09-03[1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
Conflicts: django/db/backends/oracle/base.py django/db/backends/sqlite3/base.py django/db/models/base.py Backport of 365c3e8b from master.
2013-08-30[1.6.x] Fixed #20999 - Allow overriding formfield class with choices, ↵Carl Meyer
without subclass restrictions. Refs #18162. Thanks claudep and mjtamlyn for review. Backport of 7211741fc5d50425 from master.
2013-08-30[1.6.x] Fixed #20988 -- Added model meta option select_on_saveAnssi Kääriäinen
The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649 Backport of e973ee6a9879969b8ae05bb7ff681172cc5386a5 from master Conflicts: django/db/models/options.py tests/basic/tests.py
2013-08-29[1.6.x] Fixed #14786 -- Fixed get_db_prep_lookup calling get_prep_value ↵Tim Graham
twice if prepared is False. Thanks homm for the report and Aramgutang and lrekucki for work on the patch. Backport of f19a3669b8 from master
2013-08-29[1.6.x] Fixed #16433 -- Fixed a help_text/read only field interaction that ↵Tim Graham
caused an admin crash. Thanks chris at cogdon.org for the report and admackin for the patch. Backport of af953c45cc from master
2013-08-24[1.6.x] Fixed #20961 -- Fixed HttpResponse default empty contentClaude Paroz
Thanks epandurski at gmail.com for the report. Backport of f4e980456 from master.
2013-08-22[1.6.x] Fixed #20922 -- Allowed customizing the serializer used by ↵Tim Graham
contrib.sessions Added settings.SESSION_SERIALIZER which is the import path of a serializer to use for sessions. Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews. Backport of b0ce6fe656 from master
2013-08-22[1.6.x] Fixed #20955 -- select_related regressionAnssi Kääriäinen
In cases where the same connection (from model A to model B along the same field) was needed multiple times in a select_related query, the join setup code mistakenly reused an existing join. Backpatch of 8d65b6082c8bf5df25608d8733470879a8a61d7d. Conflicts: django/db/models/sql/compiler.py tests/queries/tests.py
2013-08-20[1.6.x] Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.Florian Apolloner
Backport of 6e846f7627ecf0dc15053624a23bfbf47535972d from master.
2013-08-20[1.6.x] Fixed invalid testing fixtureAnssi Kääriäinen
Backport of 86f4459f9e from master
2013-08-20[1.6.x] Fixed #20820 -- Model inheritance + m2m fixture loading regressionAnssi Kääriäinen
Tests by Tim Graham, report from jeroen.pulles@redslider.net. Backport of 1ed77e7782 from master
2013-08-20[1.6.x] Fixed a test failure introduced in f0bc2865ff.Simon Charette
`classobj` objects cannot be weakly referenced on Python 2.6
2013-08-20Fixed #20943 -- Weakly reference senders when caching their associated receiversSimon Charette
Backport of e55ca60903 from master.
2013-08-16[1.6.x] Revert "Fixed #18491 -- deleting a proxy doesn't show warning about ↵Tim Graham
cascade deletes" This reverts commit 2b48fcc607010065c0f8107baf669dd41b164f3c. It introduced a regression (#20777) which we can't easily fix in 1.6.
2013-08-15[1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField ↵Alasdair Nicol
does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. Backport of 22c6497f99 from master
2013-08-15[1.6.x] Fixed #17778 -- Prevented class attributes on context from resolving ↵Tim Graham
as template variables. Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test. Backport of 71b5617c24 from master.
2013-08-13[1.6.x] Removed unneeded conditional_escapes from the testsuite.Florian Apolloner
Backport of 4e50e4065489f06d72eed8ce2d9ae98639be5a93 from master.
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-06[1.6.x] Fixed #20865 -- Fixed raw_id_fields to work with callable ↵Collin Anderson
limit_choices_to. Backport of d53e574676 from master
2013-08-06[1.6.x] Fixed #19918 -- Modified select_for_update to run on the write database.Alex Cucu
Backport of 1c64a0f29e from master
2013-08-06[1.6.x] Fixed ordering related test failureAnssi Kääriäinen
Also PEP8 + python_2_unicode_compatible cleanup done. Backport of 263b873599 from master
2013-08-05[1.6.x] Fixed #20850 -- Added MultiWidget.needs_multipart_formTim Heap
Backport of 75c87e2d38 from master
2013-08-04[1.6.x] Fixed #20822 -- Set content type of default error pages to 'text/html'.Aymeric Augustin
Thanks Jimmy Song for the patch. Backport of 7843775 from master.
2013-08-02[1.6.x] Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý
Regression introduced by [369b6fa]; refs #18169. Backport of 1b47508ac8 from master
2013-08-02[1.6.x] Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer ↵Loic Bistuer
bypasses get_fieldsets(). Refs 23e1b59 which already fixed this issue for ModelAdmin and InlineModelAdmin. Backport of a0ed2f9260 from master
2013-08-02[1.6.x] Fixed #18777 -- Localized form fields with as_text/as_hiddenAleksandra Sendecka
Thanks croldan for the report. Backport of 893d8de6f5 from master
2013-08-02[1.6.x] Fixed #17519 -- Fixed missing SQL constraints to proxy models.Tim Graham
Thanks thibaultj for the report, jenh for the patch, and charettes for the tests. Backport of aa830009de from master
2013-07-30[1.6.x] Fixed #10491 -- Allowed passing lazy objects to HttpResponseRedirect.Baptiste Mispelon
Thanks liangent for the report. Backport of 3c45fb8589 from master
2013-07-28[1.6.x] Simplified smart_urlquote and added some basic tests.Florian Apolloner
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
2013-07-26[1.6.x] Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.Tim Graham
Thanks CollinAnderson for the report. Backport of 8676318d2d from master
2013-07-26[1.6.x] Updated contrib.admin to use Email/URLInputs; refs #16630Tim Graham
Backport of 2a979d2a7b from master
2013-07-26[1.6.x] Fixed related model lookup regressionAnssi Kääriäinen
It has been possible to use models of wrong type in related field lookups. For example pigs__in=[a_duck] has worked. Changes to ForeignObject broke that. It might be a good idea to restrict the model types usable in lookups. This should be done intentionally, not accidentally and without any consideration for deprecation path. Backpatch of 7cca8d56d28e321ffc395c92f82d97adaa0dcf94 from master.
2013-07-25[1.6.x] Fixed ._meta.pk_index() virtual field failureAnssi Kääriäinen
Backport of 92476e880c from master
2013-07-22[1.6.x] Fixed #20781 -- Fixed _has_changed regression with MultiValueFieldClaude Paroz
Thanks Tim Graham for the report. Backport of 02b0106d from master.