Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #18388 - Added InlineModelAdmin.get_max_num hook.Tim Graham2013-06-022-2/+13
| | | | | Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work on the patch.
* Changed assertEquals -> assertEqual.Tim Graham2013-06-011-2/+2
|
* Fixed #18481 -- Wrapped request.FILES read error in ↵Claude Paroz2013-06-011-0/+18
| | | | | | | UnreadablePostError Thanks KyleMac for the report, André Cruz for the initial patch and Hiroki Kiyohara for the tests.
* Fixed #18169 -- NoReverseMatch not silenced if from ↵Anssi Kääriäinen2013-05-313-0/+23
| | | | block.super
* Fixed #18785 -- Added Test join trimming regressionAnssi Kääriäinen2013-05-311-0/+11
| | | | | The regression was caused by patch to ticket #15316 and was fixed by a patch to #10790.
* Fixed #20404 -- Added a keys() method to ContextList.Chris Wilson2013-05-311-2/+16
| | | | | | | | | | | It's useful to be able to list all the (flattened) keys of a ContextList, to help you figure out why the variable that's supposed to be there is not. No .values() or .items() added as the definition for those aren't clear. The patch is Chris Wilson's patch from pull request 1065 with some modifications by committer.
* Fixed #18681 -- BaseModelAdmin.get_form and ↵Loic Bistuer2013-05-311-0/+24
| | | | | | InlineModelAdmin.get_formset no longer bypass get_fieldsets Thanks msopacua for the report.
* Fixed #16436 -- Oracle defer_regress test failureAnssi Kääriäinen2013-05-311-6/+6
| | | | | Oracle doesn't like grouping by TextField, so use CharFields instead in models.
* Fixed #20502 -- Flushed i18n caches for a defaultfilter testClaude Paroz2013-05-301-22/+26
| | | | Thanks Chris Wilson for the report and initial patch.
* Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham2013-05-303-1/+31
| | | | Thanks dave@ for the suggestion and Rohan Jain for the patch.
* Merge pull request #1027 from intgr/debug_no_exc_messageTim Graham2013-05-301-1/+1
|\ | | | | Clearer explanation when exception has no message
| * Clearer explanation when exception has no messageMarti Raudsepp2013-04-231-1/+1
| | | | | | | | | | "No exception supplied" is misleading; actually there is an exception, but there's no message string.
* | Fixed #16856 - Added a way to clear select_related.Tim Graham2013-05-301-0/+4
| | | | | | | | Thanks Carl for the suggestion and David Cramer for the patch.
* | Fixed #20509 - Proper parsing for dumpdata --pks option.Tim Graham2013-05-302-1/+20
| | | | | | | | Thanks weipin for the report and Baptiste Mispelon for the patch.
* | Fixed #16436 -- defer + annotate + select_related crashTai Lee2013-05-302-7/+53
| | | | | | | | | | | | | | | | Correctly calculate the ``aggregate_start`` offset from loaded fields, if any are deferred, instead of ``self.query.select`` which includes all fields on the model. Also made some PEP 8 fixes.
* | Made an app-cache test not dependent on all models in ↵Anssi Kääriäinen2013-05-301-53/+34
| | | | | | | | defer_regress
* | Fixed a failure on Python 3 introduced by ↵Simon Charette2013-05-291-3/+3
| | | | | | | | | | | | 5939864616d56cf949f0bca348a8e05230b62fe0. Refs #15653.
* | Fixed #20331 -- Allowed admin actions to serve ↵Tim Graham2013-05-292-4/+45
| | | | | | | | | | | | StreamingHttpResponses Thanks Edwin.
* | Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz2013-05-292-23/+25
| | | | | | | | | | Thanks mbertheau for the report and Ash Christopher for the initial patch.
* | Fixed #15653 - Error in admin pagination tag.Tim Graham2013-05-291-0/+39
| | | | | | | | | | Thanks jcumbo@ for the report and adamzap and nott for the patch.
* | Fixed #20250 - Added a regression test for negated Q + ↵Tim Graham2013-05-291-0/+11
| | | | | | | | | | | | annotate Thanks nott.
* | Fixed #20484 -- Added model validation for ↵Tim Graham2013-05-283-6/+14
| | | | | | | | | | | | | | | | GenericIPAddressField GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
* | Fixed #20242 - Added a regression test for prefetch_related.Tim Graham2013-05-281-0/+10
| | | | | | | | | | | | | | Issue was fixed by removal of chunked reads from QuerySet iteration in 70679243d1786e03557c28929f9762a119e3ac14. Thanks Simeon Visser for the patch.
* | Fixed #20228 - Documented unique_for_date and exclude ↵Tim Graham2013-05-282-2/+35
| | | | | | | | | | | | behavior. Thanks Deepak Thukral for the patch.
* | Fixed random aggregation_regress test_more_more_more() ↵Anssi Kääriäinen2013-05-281-1/+7
| | | | | | | | | | | | | | failure The cause was assuming that an unordered queryset returns the values always in the same order.
* | Fixed #20182 - admin lookup should treat 0 as False for ↵Tim Graham2013-05-273-3/+55
| | | | | | | | | | | | __isnull Thanks Benjie Chen.
* | Fixed #11603 - Added ↵Tim Graham2013-05-273-1/+237
| | | | | | | | | | | | django.test.SimpleTestCase.assertFormsetError Thank-you Martin Green for the patch.
* | Fixed #20013 -- A test for sqlall fails under OracleShai Berger2013-05-271-3/+9
| |
* | Fixed #16137 - Removed kwargs requirement for ↵Tim Graham2013-05-272-1/+14
| | | | | | | | | | | | | | QuerySet.get_or_create Thanks wilfred@, poirier, and charettes for work on the patch.
* | Fixed #17582 - Added message to DoesNotExist exceptions.Tim Graham2013-05-272-1/+7
| | | | | | | | | | Thanks simon@ for the suggestion and JordanPowell for the initial patch.
* | Fixed #20507 -- SubqueryConstraint alias relabelingAnssi Kääriäinen2013-05-271-1/+15
| | | | | | | | | | | | | | | | | | | | The SubqueryConstraint defined relabeled_clone(), but that was never called. Instead there is now clone() and relabel_aliases() methods for SubqueryConstraint. A related problem was that SubqueryConstraint didn't correctly use quote_name_unless_alias() of the outer query. This resulted in failures when running under PostgreSQL.
* | Replaced `and...or...` constructs with PEP 308 ↵Ramiro Morales2013-05-271-1/+1
| | | | | | | | conditional expressions.
* | Fixed #19866 -- Added security logger and return 400 for ↵Preston Holmes2013-05-2612-25/+87
| | | | | | | | | | | | | | | | | | | | | | | | SuspiciousOperation. SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
* | Fixed get_or_create...test_savepoint_rollback test for ↵Shai Berger2013-05-261-1/+1
| | | | | | | | | | | | Python3 The test was always skipped on Python3 because string literals are unicode
* | Fix get_or_create test failure under OracleShai Berger2013-05-261-1/+2
| | | | | | | | | | Test expected that when given invalid utf-8, the backend should raise a DatabaseError, but the Oracle backend raises a UnicodeDecodeError.
* | Fixed #19938 -- Consumed iterator only once in ↵Andrew Jesaitis2013-05-251-0/+3
| | | | | | | | | | | | paginator's Page Thanks Joshua Fialkoff for the report.
* | Fixed #20296 -- Allowed SafeData and EscapeData to be lazyBaptiste Mispelon2013-05-251-0/+53
| |
* | Fixed #11725 -- Made possible to create widget label tag ↵Claude Paroz2013-05-252-12/+28
| | | | | | | | | | | | | | without "for" Thanks Denis Martinez for the report and initial patch, and Sergey Kolosov for bringing the patch up to date.
* | Fixed #20099 -- Eased subclassing of ↵Claude Paroz2013-05-251-0/+19
| | | | | | | | | | | | | | BrokenLinkEmailsMiddleware Thanks Ram Rachum for the report and the initial patch, and Simon Charette for the review.
* | Fixed #14825 -- LocaleMiddleware keeps languageVlastimil Zíma2013-05-252-1/+34
| | | | | | | | * LocaleMiddleware stores language into session if it is not present there.
* | Fixed a regression in router initializationClaude Paroz2013-05-241-0/+27
| | | | | | | | | | Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report.
* | Fixed #19607 - prefetch_related crashLuke Plant2013-05-242-1/+44
| | | | | | | | Thanks to av@rdf.ru and flarno11@yahoo.de for the report.
* | Fixed #17648 -- Add `for_concrete_model` to ↵Gavin Wahl2013-05-242-6/+135
| | | | | | | | | | | | | | | | | | | | | | `GenericForeignKey`. Allows a `GenericForeignKey` to reference proxy models. The default for `for_concrete_model` is `True` to keep backwards compatibility. Also added the analog `for_concrete_model` kwarg to `generic_inlineformset_factory` to provide an API at the form level.
* | Removed noise from pre_syncdb signal testsDonald Stufft2013-05-231-5/+0
| | | | | | | | | | Only make assertions that actually test the functionality of the change and not unrelated pieces.
* | Fixed #20474 -- Proxied and deprecated django.db.backendClaude Paroz2013-05-231-3/+6
| |
* | Fixed #19237 (again) - Made strip_tags consistent ↵Claude Paroz2013-05-231-0/+3
| | | | | | | | between Python versions
* | Made fix for #9321 less buggy and more effective.Ramiro Morales2013-05-233-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't try to be smart about building a good-looking help string because it evaluates translations too early, simply use the same old strategy as before. Thanks Donald Stufft for the report. Also, actually fix the case reported by the OP by special-casing CheckboxSelectMultiple. Added tests. Refs #9321.
* | Fixed #11398 - Added a pre_syncdb signalDonald Stufft2013-05-233-0/+90
| |
* | Merge pull request #1198 from KrzysiekJ/http-patch-methodRussell Keith-Magee2013-05-231-0/+6
|\ \ | | | | | | Fixed #20478 – Added support for HTTP PATCH method in generic views.
| * | Fixed #20478 – Added support for HTTP PATCH method in ↵Krzysztof Jurewicz2013-05-221-0/+6
| | | | | | | | | | | | generic views.