summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-06-09Added runserver validation to detect if DEBUG=False and ALLOWED_HOSTS is empty.Tim Graham
Refs #19875.
2013-06-07Auto-naming for migrations and some writer fixesAndrew Godwin
2013-06-07Autodetector testsAndrew Godwin
2013-06-07Field encodingAndrew Godwin
2013-06-07A bit of an autodetector and a bit of a writerAndrew Godwin
2013-06-07Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/fields/related.py
2013-06-06Fixed #12337 - Honor ModelForm.Meta.exclude when saving ManyToManyFields.Stephen Burrows
Thanks margieroginski for the report.
2013-06-06Fixed #20502 (again) -- More i18n cache flush in testsClaude Paroz
Thanks Timo Graham for noticing the failures.
2013-06-06Merge pull request #1245 from oinopion/list_select_relatedMarc Tamlyn
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-06Fixed #20564 -- Generic relations exclude() regressionAnssi Kääriäinen
The patch for #19385 caused a regression in certain generic relations .exclude() filters if a subquery was needed. The fix contains a refactoring to how Query.split_exclude() and Query.trim_start() interact. Thanks to Trac alias nferrari for the report.
2013-06-05Fixed #19080 -- Fine-grained control over select_related in adminTomek Paczkowski
2013-06-05PEP 8 cleanupAnssi Kääriäinen
2013-06-05Fixed #17927 -- Added initial values support for BaseGenericInlineFormSetBojan Mihelac
Thanks Fak3 for the suggestion.
2013-06-04Fixed #18924 -- Made test.Client.logout send user_logged_out signal.Tim Graham
Thanks awsum for the suggestion and Pavel Ponomarev and Florian Hahn for the patch.
2013-06-04Added i18n-related URL mapper test for a mailing list report.Ramiro Morales
2013-06-02Fixed #20485 -- Refactored loaddata for speed.Aymeric Augustin
Thanks Anssi for reporting this performance bottleneck.
2013-06-01Fixed #18388 - Added InlineModelAdmin.get_max_num hook.Tim Graham
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work on the patch.
2013-06-01Changed assertEquals -> assertEqual.Tim Graham
2013-06-01Fixed #18481 -- Wrapped request.FILES read error in UnreadablePostErrorClaude Paroz
Thanks KyleMac for the report, André Cruz for the initial patch and Hiroki Kiyohara for the tests.
2013-06-01Fixed #18169 -- NoReverseMatch not silenced if from block.superAnssi Kääriäinen
2013-06-01Fixed #18785 -- Added Test join trimming regressionAnssi Kääriäinen
The regression was caused by patch to ticket #15316 and was fixed by a patch to #10790.
2013-06-01Fixed #20404 -- Added a keys() method to ContextList.Chris Wilson
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.
2013-05-31Fixed #18681 -- BaseModelAdmin.get_form and InlineModelAdmin.get_formset no ↵Loic Bistuer
longer bypass get_fieldsets Thanks msopacua for the report.
2013-05-31Fixed #16436 -- Oracle defer_regress test failureAnssi Kääriäinen
Oracle doesn't like grouping by TextField, so use CharFields instead in models.
2013-05-30Fixed #20502 -- Flushed i18n caches for a defaultfilter testClaude Paroz
Thanks Chris Wilson for the report and initial patch.
2013-05-30Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30Add an Executor for end-to-end runningAndrew Godwin
2013-05-30Fix graph testsAndrew Godwin
2013-05-30Add the start of some operation testsAndrew Godwin
2013-05-30Merge pull request #1027 from intgr/debug_no_exc_messageTim Graham
Clearer explanation when exception has no message
2013-05-30Fixed #16856 - Added a way to clear select_related.Tim Graham
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-30Fixed #20509 - Proper parsing for dumpdata --pks option.Tim Graham
Thanks weipin for the report and Baptiste Mispelon for the patch.
2013-05-30Fixed #16436 -- defer + annotate + select_related crashTai Lee
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.
2013-05-30Made an app-cache test not dependent on all models in defer_regressAnssi Kääriäinen
2013-05-29Fixed a failure on Python 3 introduced by ↵Simon Charette
5939864616d56cf949f0bca348a8e05230b62fe0. Refs #15653.
2013-05-29Add test for new __ne__ method on Promise.Andrew Godwin
2013-05-29Start adding operations that work and tests for themAndrew Godwin
2013-05-29Fixed #20331 -- Allowed admin actions to serve StreamingHttpResponsesTim Graham
Thanks Edwin.
2013-05-29Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz
Thanks mbertheau for the report and Ash Christopher for the initial patch.
2013-05-29Fixed #15653 - Error in admin pagination tag.Tim Graham
Thanks jcumbo@ for the report and adamzap and nott for the patch.
2013-05-29Fixed #20250 - Added a regression test for negated Q + annotateTim Graham
Thanks nott.
2013-05-28Fixed #20484 -- Added model validation for GenericIPAddressFieldTim Graham
GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
2013-05-28Fixed #20242 - Added a regression test for prefetch_related.Tim Graham
Issue was fixed by removal of chunked reads from QuerySet iteration in 70679243d1786e03557c28929f9762a119e3ac14. Thanks Simeon Visser for the patch.
2013-05-28Fixed #20228 - Documented unique_for_date and exclude behavior.Tim Graham
Thanks Deepak Thukral for the patch.
2013-05-28Fixed random aggregation_regress test_more_more_more() failureAnssi Kääriäinen
The cause was assuming that an unordered queryset returns the values always in the same order.
2013-05-27Fixed #20182 - admin lookup should treat 0 as False for __isnullTim Graham
Thanks Benjie Chen.
2013-05-27Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetErrorTim Graham
Thank-you Martin Green for the patch.
2013-05-27Fixed #20013 -- A test for sqlall fails under OracleShai Berger
2013-05-27Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_createTim Graham
Thanks wilfred@, poirier, and charettes for work on the patch.
2013-05-27Fixed #17582 - Added message to DoesNotExist exceptions.Tim Graham
Thanks simon@ for the suggestion and JordanPowell for the initial patch.