summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-20Fixed #22107 -- Fixed django.core.files.File object iteration.Baptiste Mispelon
Due to a mixup between text and bytes, iteration over a File instance was broken under Python 3. Thanks to trac user pdewacht for the report and patch.
2014-02-20Fixed #22097 -- Fixed change detection for TypedChoiceFieldClaude Paroz
Thanks Igor Mitrenko for the report.
2014-02-19Fixed #22093 -- Made Form.Meta.fields examples consistent.Tim Graham
Thanks david-schultz at gmx.net for the suggestion.
2014-02-19Added an example to the release notes for custom reverse managers.Loic Bistuer
2014-02-19Fixed #19647 -- Added formats.py for Esperanto.Baptiste Darthenay
Thanks to Objectivesea and Guttorm Flatabø (dittaeva)!
2014-02-18Fixed #21790 -- Removed reliance on an assert in auth.get_user().Tim Graham
Thanks matklad for the report.
2014-02-18flake8 fixes (unused imports and variables).Tim Graham
2014-02-18Fixed #22062 -- Corrected static files config for Apache >= 2.4Tim Graham
2014-02-18Made content_type_extra optional for TemporaryUploadedFile and ↵Dmitro
MemoryUploadedFile. This provides better backwards compatibility for those constructing these objects manually. Refs #13721.
2014-02-18Fixed #21732 -- Made compilemessages complain about non-writable locationClaude Paroz
Instead of crashing with a CommandError, now a non-writable location of mo files will only make compilemessages complain and continue. Thanks Ramiro Morales for the review.
2014-02-18Replaced 'test' by 'sqlall' management command in reverse_lazy testClaude Paroz
2014-02-18Fixed broken tests when running with a non-TTY stdin.Baptiste Mispelon
2014-02-18Removed BaseCommand.stdin introduced in ↵Baptiste Mispelon
116d39842dab2569013856e9f3701a7cb6554f09. This option is not actually very useful in the general case because it doesn't override sys.stdin. It's still marginally useful for testing some features of the createsuperuser command so it was moved there. This commit also makes the detection of a TTY in createsuperuser a bit more robust, after a suggestion of appolo13.
2014-02-18Consolidated all tests for createsuperuser in the same TestCase.Baptiste Mispelon
2014-02-18Fixed #22057 -- Ensured reverse_lazy can be used in settingsClaude Paroz
And without causing a circular import. Thanks Akis Kesoglou for the report.
2014-02-17Fixed #22073 - Ensure CreateTable operation handles backwards migration ↵Ben Davis
correctly when M2M fields are present
2014-02-17Fixed #22023 -- Raised an error for values() followed by defer() or only().Artur Frysiak
Previously, doing so resulted in invalid data or crash. Thanks jtiai for the report and Karol Jochelson, Jakub Nowak, Loic Bistuer, and Baptiste Mispelon for reviews.
2014-02-17Fixed #7423 -- Skip superuser creation when not running in a TTY.Baptiste Mispelon
Thanks to trac user galaxy4sale for the original report and to AeroNotix for the patch.
2014-02-17Use assertEqual instead of assertEquals.Baptiste Mispelon
2014-02-17Added the possibility to pass a stdin object to a management command.Baptiste Mispelon
This makes testing certain features easier. Thanks to AeroNotix for the original patch.
2014-02-17Merge pull request #2270 from bmispelon/ticket-22030Andrew Godwin
Fixed #22030 -- Don't assume that all fields have a swappable_setting at...
2014-02-16Fixed #19980: Signer broken for binary keys (with non-ASCII chars).MattBlack85
With this pull request, request #878 should considered closed. Thanks to nvie for the patch.
2014-02-16Made the new template.Context.flatten() method a public API.Marek Wywiał
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651. Refs #21765.
2014-02-16Added some links in i18n documentationGrzegorz Rożniecki
2014-02-16Fixed two typos in documentationGrzegorz Rożniecki
2014-02-16Fixed #21939 -- Deprecated loading ssi/url tags from future.Zbigniew Siciarz
2014-02-16Fixed #18745 - Documentation change explaining tuple to list with signing.MattBlack85
Thanks to lee for the report.
2014-02-15Fixed bad comparison logic introduced in ↵Baptiste Mispelon
d97bf2e9c8971764690caaf81a0914bc368d6b02. Refs #21765. Thanks to kezabelle for the quick report and to onjin for providing the patch.
2014-02-15Split line and added indentation for better readability.Aleksander Budzinski
2014-02-15Fixed #22002 -- Documented avoiding database interaction in AppConfig.ready().Zbigniew Siciarz
Thanks Marc Tamlyn for the suggestion.
2014-02-15Corrected a pair of flake8 violationsAlex Gaynor
2014-02-15Fixed #21725 -- Fixed JavaScript quoting encoding.MattBlack85
Thanks to nedbatchelder for the report.
2014-02-15Fixed #22013 -- Documented difference between SERVER_EMAIL and ↵Zbigniew Siciarz
DEFAULT_FROM_EMAIL.
2014-02-15Improved fix for #18373 -- backward compatibilityGrzegorz Nosek
Commit 79558c78 cleaned up the (undocumented) interface of Resolver404 exception, which breaks compatibility with code messing with .args[0] directly. Revert the cleanup part and simply leave the fix itself.
2014-02-15Fixed #22047 -- detecting related_name clash with inheritanceChristopher Medrela
Thanks to mondone for fruitful colaboration.
2014-02-15Fixed some flake8 errors from recent commits.Tim Graham
2014-02-15Fixed #21912 -- Improved error message if a view returns None.Aaron France
Thanks brycenesbitt for the report.
2014-02-15Fixed #21765 -- Added support for comparing Context instancesMarek Wywiał
2014-02-15Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup typechomik
Thanks to cjerdonek for the suggestion.
2014-02-15Fixed #18373 - improved handling of Resolver404s from viewsGrzegorz Nosek
When django.core.urlresolvers.resolve was called from a view, failed and the exception was propagated and rendered by technical_404_response, the URL mentioned on the page was the current URL instead of the URL passed to resolve(). Fixed by using the path attribute from the Resolver404 exception instead of request.path_info. Also cleaned up the exceptions to use standard named parameters instead of stuffing a dict in args[0]
2014-02-15Fixed #19299 -- Fixed Nullification of Foreign Keys To CharFieldsAlbert Wang
Thanks tunixman for the report and Baptiste Mispelon and Shai Berger for reviews.
2014-02-15Fixed two typos.Rodolfo Carvalho
2014-02-15Fixed typo in comment.Rodolfo Carvalho
2014-02-15Fixed #22018 -- Fixed checks for ModelAdmin.fields not handling sub-lists.Aaron France
Flatten a level of sublists before checking for duplicate fields. When given sublists such as: ```python class FooAdmin(admin.ModelAdmin): fields = ('one', ('one', 'two')) ``` The previous code did not correctly detect the duplicated 'one' field. Thanks to jwa for the report.
2014-02-15Fixed typo in test docstring.Rodolfo Carvalho
2014-02-15Moved relative URL handling added in refs #21177 to a better place.Tim Graham
Thanks apollo13: "reverse() shouldn't know about absolute/relative paths."
2014-02-15Fixed typo in docstring.Rodolfo Carvalho
2014-02-15Merge pull request #2281 from rhcarvalho/ticket_22053Florian Apolloner
Change analyse (British) to analyze (American).
2014-02-15Fixed #22052 -- Corrected a misspelling of ellipsoidMichal Prusek
2014-02-15Change analyse (British) to analyze (American).Rodolfo Carvalho