summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2014-04-21[1.7.x] Fixed a remote code execution vulnerabilty in URL reversing.Tim Graham
Thanks Benjamin Bach for the report and initial patch. This is a security fix; disclosure to follow shortly. Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
2014-04-21[1.7.x] Appeased flake8 2.1.0.Aymeric Augustin
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
2014-04-21[1.7.x] Corrected many style guide violations that the newest version of ↵Alex Gaynor
flake8 catches Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
2014-04-18[1.7.x] Adapted fixture read mode to file typeClaude Paroz
Binary mode added in ed532a6a1e is not supported by ZipFile. Refs #22399. Backport of 275811a93 from master.
2014-04-18[1.7.x] Fixed #22399 -- Forced fixture reading in binary modeClaude Paroz
This might help on systems where default encoding is not UTF-8 (and on Python 3). Thanks bacilla for the report. Backport of ed532a6a1 from master.
2014-04-17[1.7.x] Fixed #22454 - Changed compatibility warning hintMoayad Mardini
The warning hint of `_check_test_runner` of 1.6 compatibility had a link to a general release note. The link should be edited to refer the relevant "Backwards incompatible changes in 1.6" section that documents the cause and the possible solutions and workarounds of the warning. Backport of 214d1e1b0f from master
2014-04-10[1.7.x] Fixed #22194 -- Added --list-tags option to check command.Tim Graham
Thanks Elvard for the patch. Backport of 395d75ea6b from master
2014-04-10[1.7.x] Fixed #22195 -- Used constants to define built-in tags for check ↵Tim Graham
framework. Thanks Elvard for the patch. Backport of b513fa5fc6 from master
2014-03-25[1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.Tim Graham
refs #14305. Thanks Adrian Klaver for the report. Backport of 9b7ba8af1b from master
2014-03-22[1.7.x] Fixed #22256 -- Replaced bad fallback for missing PATHPatrick Michaud
Thanks Baptiste Mispelon for the review. Backport of acee46fc9 from master.
2014-03-21[1.7.x] Fixed #22255 -- Added support for specifying re flags in RegexValidatorDejan Noveski
Backport of 4d0c5f61427a8e67552ee2d777fffbadc7aff3b2 from master.
2014-03-18Fixed regression in file locking on some platforms.smallcode
Some platforms with os.name == 'posix' do not have the fcntl module, e.g. AppEngine. refs #19373.
2014-03-18Mentioned that ``dumpdata --natural`` is deprecated.Daniel Hahler
2014-03-08Fix bad conflict detection during makemigrationsAndrew Godwin
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2014-03-06Added --previous flag to msgmerge command used by makemessagesClaude Paroz
Also took the opportunity to slightly refactor gettext options so as to ease customization by subclassing the command. Thanks Michal Čihař for the report and initial patch.
2014-03-05Fixed #7571 -- Fixed parameter matching in include()'d urlpatternAthena
Fixed URL resolving in the case where an outer regex includes an inner regex and both regexes use positional parameters instead of named groups, causing the outer regex's parameters to override the inner regex's. Modified the regex url resolver so that it will concatenates and then normalizes, instead of normalizing and then concatenating.
2014-03-04Fixed #22085 -- Added a feature for setting non-expiring keys as the default.zedr
This feature allows the default `TIMEOUT` Cache argument to be set to `None`, so that cache instances can set a non-expiring key as the default, instead of using the default value of 5 minutes. Previously, this was possible only by passing `None` as an argument to the set() method of objects of type `BaseCache` (and subtypes).
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-03-03Corrected expected test output to allow for cleanups in signal and ↵Russell Keith-Magee
compatibility checks.
2014-03-03Added backwards compatibliity checks to reference documentation.Russell Keith-Magee
2014-03-03Fixed #22193 -- Made hint a truly optional arugment on check messages.Russell Keith-Magee
Thanks to Thomas Güttler for the suggestion.
2014-03-03Edited model and field checks for grammar and consistency.Russell Keith-Magee
2014-02-22Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addressesErik Romijn
2014-02-22Fixed #21435 -- Improved error message when urlconf is empty.Baptiste Mispelon
The new error message now hints that the most likely issue is a circular import. Thanks to trac user elena for the report and to bpeschier for the original patch.
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-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-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-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-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-15Corrected a pair of flake8 violationsAlex Gaynor
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 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 #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 two typos.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-14Fixed #21177 -- Made resolve_url support relative URLs.Antoine Catton
This fixes redirecting to relative URLs with django.shortcuts.redirect.
2014-02-12Fixed #21856: Don't crash runserver when DATABASES = {}Andrew Godwin
2014-02-12Reverting unapplied migrations check away from being a system-level check.Andrew Godwin
This reverts commit 0ac13eccebb3d879f79b31585b1e81f655067179.
2014-02-12Add --empty option to makemigrationsAndrew Godwin
2014-02-12Fixed #22025 -- Listing app followed by app.Model in dumpdata commandEli Bendersky
When invoked as follows: $ python manage.py dumpdata blogapp blogapp.Tag Django would throw a TypeError. This commit fixes the problem and provides a test.
2014-02-10Fixed #20784 -- Added inverse_match parameter to RegexValidator.Si Feng
2014-02-09Merge pull request #2245 from funkybob/parse_headerClaude Paroz
Replaced _parse_content_type with cgi.parse_header
2014-02-09Fixed #21969: Fix behaviour of initial_data with migrated appsAndrew Godwin
2014-02-09Fixed #21968: Bad detection of old-style apps to add initial migrationAndrew Godwin
2014-02-09Merge pull request #2244 from mlavin/21856-migration-checksAndrew Godwin
Fixed #21856: Allow Empty DATABASES Setting
2014-02-09Replace _parse_content_type with cgi.parse_headerCurtis
2014-02-08Fixed #19373 -- Ported Windows file locking from PyWin32 to ctypesKevin Christopher Henry
There wasn't any file locking under Windows unless PyWin32 was installed. This removes that (undocumented) dependency by using ctypes instead. Thanks to Anatoly Techtonik for writing the ctypes port upon which this is based.