summaryrefslogtreecommitdiff
path: root/docs/releases
AgeCommit message (Collapse)Author
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-03Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.Anubhav Joshi
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
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-01Fixed #22933 -- Deprecated django.template.resolve_variable().Tim Graham
2014-07-01Fixed #19501 -- added Model.from_db() methodAnssi Kääriäinen
The Model.from_db() is intended to be used in cases where customization of model loading is needed. Reasons can be performance, or adding custom behavior to the model (for example "dirty field tracking" to issue automatic update_fields when saving models). A big thank you to Tim Graham for the review!
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 #8162 -- Increased Permission.name max_length to 255 characters.Tim Graham
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).
2014-06-24Fixed #21668 -- Return detailed error page when SuspiciousOperation is ↵Anubhav Joshi
raised and DEBUG=True Thanks GDorn and gox21 for report. Thanks Tim Graham for idea and review.
2014-06-23Fixed typo: MultipleModelChoiceField -> ModelMultipleChoiceField.Tim Graham
2014-06-23Fixed #8033 -- Explained app registry error during translation setupClaude Paroz
Thanks Tim Graham and Aymeric Augustin for the review.
2014-06-20Added refs #22514 to 1.6.6 release notes.Tim Graham
2014-06-20Fixed #22838 -- Deprecated ModelChoiceField.cache_choices.Marc Tamlyn
Undocumented, untested and probably not even useful feature.
2014-06-20Fixed #22782 -- Added i18n attr to Sitemap classLuan Pablo
It makes possible to have your sitemap in multiple languages when using i18n in URLs.
2014-06-19Fixed #22835 -- Deprecated NoArgsCommand.Maxime Turcotte
2014-06-18Fixed #22778 -- Added a model Meta option to define default_related_name.Renaud Parent
Thanks jorgecarleitao and mmardini for reviews.
2014-06-17Fixed #13711 -- Model check added to ensure that auto-generated column name ↵Anubhav Joshi
is within limits of the database. Thanks russellm for report and Tim Graham for review.
2014-06-15Fixed #22660: Doc'd you can't have unmigrated apps depend on migratedAndrew Godwin
2014-06-14Converted test management command to argparseClaude Paroz
Keeping backwards compatibility with test_runner.option_list is tricky and would imply transforming an optparse.Option to an argparse.Action. I choose to introduce a backwards incompatible change because it only affects testing, not runtime behavior.
2014-06-14Documented optparse to argparse changes for management commandsClaude Paroz
2014-06-13Fixed #22477 -- Removed contrib middleware from the global settings defaults.mlavin
Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-06-13Fixed #16087 -- Added ResolverMatch instance to test client response.Greg Chapple
Thanks mrmachine for the suggestion.
2014-06-12Fixed #22811 -- Allowed setting both the old and new TEST database settings.Tim Graham
An ImproperlyConfigured exception will be raised they mismatch.
2014-06-11Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵Anubhav Joshi
from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch.
2014-06-11Fixed #22680 -- I/O operation on closed file.Florian Apolloner
This patch is two-fold; first it ensure that Django does close everything in request.FILES at the end of the request and secondly the storage system should no longer close any files during save, it's up to the caller to handle that -- or let Django close the files at the end of the request.
2014-06-10Fixed #17431 -- Added send_mail() method to PasswordResetForm.Jorge C. Leitão
Credits for the initial patch go to ejucovy; big thanks to Tim Graham for the review.
2014-06-10Fixed #17552 -- Removed a hack for IE6 and earlier.Aymeric Augustin
It prevented the GZipMiddleware from compressing some data types even on more recent version of IE where the corresponding bug was fixed. Thanks Aaron Cannon for the report and Tim Graham for the review.
2014-06-09Dropped support for SpatiaLite < 2.4.Tim Graham
2014-06-09Doc edits for refs #22487.Tim Graham
2014-06-09Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766.Tim Graham
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-06-07Silenced some GIS deprecation warnings; refs #22384.Tim Graham
2014-06-07Fixed #17427 -- Removed dubious definition of connections equality.Aymeric Augustin
2014-06-07Fixed #18314 -- Corrected request.build_absolute_uri() handling of paths ↵Unai Zalakain
starting with // ``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``. ``WSGIRequest`` now doesn't remove all the leading slashes either, because ``http://test/server`` and http://test//server`` aren't the same thing (RFC2396). Thanks to SmileyChris for the initial patch.
2014-06-07Fixed #3711, #6734, #12581 -- Bounded connection.queries.Aymeric Augustin
Prevented unlimited memory consumption when running background tasks with DEBUG=True. Thanks Rob, Alex, Baptiste, and others.
2014-06-05Fixed #18400 -- Modified length template filter to return 0 for unknown ↵Susan Tan
variables. Thanks Florian for the bug report, luyikei for the initial code patch, and Bouke for the code review feedback.
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵Anubhav Joshi
ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-06-05Fixed #21773 -- made daemon threads default in the development server.Moayad Mardini
Thanks clime for the report.
2014-06-05Fixed RST syntax in 1.8 release docs.Zbigniew Siciarz
2014-06-03Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham
2014-06-02Fixed #11776 -- Added CSS class for non-field/top of form errors.Nick Presta
Thanks Daniel Pope for the suggestion.
2014-06-01Merge pull request #2726 from gchp/ticket-20550Aymeric Augustin
Fixed #20550 -- Added ability to preserve test db between runs
2014-05-29Improved deprecation plan links in release notes.Tim Graham
2014-05-28Fixed #22684 -- Added `empty_label` option on ↵Guillaume Pannatier
`django.forms.extras.widets.SelectDateWidget` Thanks danielsamuels for the report
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-05-24Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions.
2014-05-21Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATHMartin Brochhaus
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). A feature has been added to also allow a list of strings. This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module.