summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-11Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.Tim Graham
Thanks josh.23.french@.
2013-06-11FormSet.forms is an iterable, so just iterate over itWilfred Hughes
2013-06-11Merge pull request #1258 from batisteo/ticket-20585Marc Tamlyn
Fixed #20585: normalize signature of DeletionMixin.post.
2013-06-11Fixed #20585: normalize signature of DeletionMixin.post.Baptiste Darthenay
2013-06-10Fixed #20578 - Typo in BaseFormSet module nameTim Graham
2013-06-10Fixed #18134 -- BoundField.label_tag now includes the form's label_suffixGabe Jackson
There was an inconsistency between how the label_tag for forms were generated depending on which method was used: as_p, as_ul and as_table contained code to append the label_suffix where as label_tag called on a form field directly did NOT append the label_suffix. The code for appending the label_suffix has been moved in to the label_tag code of the field and the HTML generation code for as_p, as_ul and as_table now calls this code as well. This is a backwards incompatible change because users who have added the label_suffix manually in their templates may now get double label_suffix characters in their forms.
2013-06-10Merge pull request #1255 from camilonova/patch-2Tim Graham
Made URL patterns consistent in docs/ref/contrib/flatpages.txt
2013-06-10Reverted the introduction of shared_models.Florian Apolloner
The recent improvements should make shared_models obsolete. This reverts commit 1059da8de675442e84381d6366c0be254681753e, reversing changes made to 4fa7f3cdd9bcf50ec4c7f64a31c1dfc02c375f46.
2013-06-10Revert "Began implementing a shared set of test models to speed up tests."Florian Apolloner
This reverts commit 22b7870e40a3ecf022b423de6cd867dcb35a6940.
2013-06-10Fixed available_apps for selenium tests.Aymeric Augustin
Refs #20483.
2013-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-06-10Added TransactionTestCase.available_apps.Aymeric Augustin
This can be used to make Django's test suite significantly faster by reducing the number of models for which content types and permissions must be created and tables must be flushed in each non-transactional test. It's documented for Django contributors and committers but it's branded as a private API to preserve our freedom to change it in the future. Most of the credit goes to Anssi. He got the idea and did the research. Fixed #20483.
2013-06-10Added a stealth option to flush to allow cascades.Aymeric Augustin
This allows using flush on a subset of the tables without having to manually cascade to all tables with foreign keys to the tables being truncated, when they're known to be empty. On databases where truncate is implemented with DELETE FROM, this doesn't make a difference. The cascade is allowed, not mandatory.
2013-06-10Refactored file_storage tests to avoid depending on servers tests.Aymeric Augustin
2013-06-09Added runserver validation to detect if DEBUG=False and ALLOWED_HOSTS is empty.Tim Graham
Refs #19875.
2013-06-09Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTSTim Graham
2013-06-09Fixed #20567 - Documented BoundField.id_for_label.Tim Graham
Thanks littlepig for the suggestion.
2013-06-09Merge pull request #1256 from krmboya/patch-1Tim Graham
Fixed #20575 -- Typo in docs/topics/forms/media.txt
2013-06-09Replaced a dict emulating a set with a set.Aymeric Augustin
2013-06-09Update media.txtKenny Rachuonyo
Fixed typo: froms -> forms
2013-06-08Update flatpages.txtCamilo Nova
Fixed typo
2013-06-08Allow build of translated documentationClaude Paroz
2013-06-08Merge pull request #1254 from russkel/patch-1Tim Graham
Updated submitting-patches.txt
2013-06-08Update submitting-patches.txtrusskel
Few quick fixes to the terminology in order to match what is used on the Django Trac at the moment.
2013-06-07Fixed #19925 - Added validation for REQUIRED_FIELDS being a listChris Streeter
Thanks Roman Alexander for the suggestion.
2013-06-07Initial stab at a migrate command, it's probably quite a way off.Andrew Godwin
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-06Explained that timezone.now() always returns times in UTC.Jacob Kaplan-Moss
The docs were ambiguous about the time zone for now(), leading people to assume that it would be the current time zone rather that UTC.
2013-06-06Bumped verion numbers for 1.6a1.Jacob Kaplan-Moss
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-05Proofed the 1.6 release notesTim Graham
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-04Merge pull request #1241 from jaylett/masterMarc Tamlyn
Explicit exception chaining for db exceptions by setting __cause__ in py2
2013-06-04Fixed #17601 -- expose underlying db exceptions under py2James Aylett
Use __cause__ to expose the underlying database exceptions even under python 2.
2013-06-03Fixed #20532 -- Reverse auth views by name, not by path.Gavin Wahl
Auth views should be reversed by name, not their locations in `django.contrib.auth.views`. This allows substituting your own implementations of the auth views.
2013-06-03Fixed #20545 - Made class-based view MRO lists consistent.Tim Graham
Thanks wim@ for the suggestion.
2013-06-03Fixed loaddata for Django checkouts with non ASCII chars in the name.Florian Apolloner
2013-06-03Fixed small regression from 51aa000378.Aymeric Augustin
A test failed if the path to the Django checkout contained a dot. Refs #20485.
2013-06-03Fixed #20552 -- Corrected release notes reference to name of new test ↵Russell Keith-Magee
discovery runner.