summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2013-10-22[1.6.x] Decode from UTF-8 explicitly when reading a text file in makemessages.Ramiro Morales
This shows itself with Python 3 under Windows where UTF-8 usually isn't the default file I/O encoding and caused one failure and three errors in our test suite under that platform setup. b5f52647fe from master.
2013-10-18[1.6.x] Fixed #21284 -- Prevented KeyError swallowing in fetch_commandClaude Paroz
Thanks wildfire for the report. Backport of 3514bcb251 from master.
2013-10-14[1.6.x] Fixed #21269 -- Don't crash when CommandError contains non-asciiClaude Paroz
Thanks kontakt@eikefoken.de for the report. Backport of 42a67ec1cd from master.
2013-10-08[1.6.x] Refs #21197 -- Clarified upgrade check message.Russell Keith-Magee
Thanks to Carl and Shai for the discussion. Backport of 8ff4303 from master.
2013-10-01[1.6.x] Fixed #21209 -- .po file path comments on Windows.Ramiro Morales
Literals from source files with Django template language syntax don't have a '.py' suffix anymore. Also, the '.\' prefix is preserved to respect GNU gettext behavior on that platform. Refs #16903. 4b715fc05a from master.
2013-09-27[1.6.x] Fixed an ImportError in `django.core.cache.backends.db`Javed Khan
It was introduced by a979a2fea5.
2013-09-26[1.6.x] Fixed #21146 - DatabaseCache converts expires to python valueMichael Manfre
DatabaseCache uses raw cursors to bypass the ORM. This prevents it from being used by database backends that require special handling of datetime values. There is no easy way to test this, so no tests added. Backport of d5606b5763 from master
2013-09-22[1.6.x] Fixed "Address already in use" from liveserver.Florian Apolloner
Our WSGIServer rewrapped the socket errors from server_bind into WSGIServerExceptions, which is used later on to provide nicer error messages in runserver and used by the liveserver to see if the port is already in use. But wrapping server_bind isn't enough since it only binds to the socket, socket.listen (which is called from server_activate) could also raise "Address already in use". Instead of overriding server_activate too I chose to just catch socket errors, which seems to make more sense anyways and should be more robust against changes in wsgiref. Backport of 2ca00faa913754cd5860f6e1f23c8da2529c691a from master.
2013-09-10[1.6.x] Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
Backport of 6a6428a36 from master.
2013-09-07[1.6.x] Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3.Aymeric Augustin
Thanks mitsuhiko for the report. Backport of 65b6eff3 and adaptation of 8aaca65 from master.
2013-09-07[1.6.x] Fixed #20557 -- Properly decoded non-ASCII cookies on Python 3.Aymeric Augustin
Thanks mitsuhiko for the report. Non-ASCII values are supported. Non-ASCII keys still aren't, because the current parser mangles them. That's another bug. Simplified backport of 8aaca651 and f5add47 from master.
2013-09-06Merge pull request #1566 from adamsc64/ticket_11857Russell Keith-Magee
Fixed #11857 -- Added missing 'closed' property on TemporaryFile class. Backport of 926bc42 from trunk.
2013-09-06[1.6.x] Fixed Python 3 syntax error introduced in [c72392da]Tim Graham
Backport of 498014ccd5 from master
2013-09-06[1.6.x] Merge pull request #1582 from ↵Russell Keith-Magee
rca/12756-missing-yaml-module-serializer-error-message Fixed #12756: Improved error message when yaml module is missing. Backport of 4f5faa1916e7c8cb72cc9ebf1a1fd964ba6e707b from master.
2013-09-03[1.6.x] Fixed #21026 -- Corrected help for manage.py test command.Carl Meyer
Backport of 8f7f8bf6884ada8622bc3696c7465c904164d314 from master.
2013-09-03[1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
Conflicts: django/db/backends/oracle/base.py django/db/backends/sqlite3/base.py django/db/models/base.py Backport of 365c3e8b from master.
2013-08-20[1.6.x] Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.Florian Apolloner
Backport of 6e846f7627ecf0dc15053624a23bfbf47535972d from master.
2013-08-15[1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField ↵Alasdair Nicol
does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. Backport of 22c6497f99 from master
2013-07-30[1.6.x] Added support for IPython.start_ipython in shellMinRK
IPython 1.0 introduces an actual stable public API function for starting a normal (non-embedded) IPython session. This is an official public API, which is promised to survive implementation changes.
2013-07-21[1.6.x] Fixed an email validation regressionClaude Paroz
Thanks Vincent Wagelaar for the report. Backport of 11b7b9ad from master.
2013-07-09[1.6.x] Fixed #20722 -- Fixed MemcachedCache backend get_many on Python 3.Tim Graham
Backport of 3c736207a3 from master
2013-07-03[1.6.x] Fixed #20687 -- Added documentation for django.core.signing API.Tomáš Ehrlich
Thanks Baptiste Mispelon for the suggestion. Backport of c5bc98d7e1 from master.
2013-06-29[1.6.x] Do not allow FileSystemStorage.delete to receive an empty nameClaude Paroz
Refs #20660. Backport of 7fbab3eba from master.
2013-06-27Merge pull request #1311 from loic/ticket20619_take2Andrew Godwin
Fixed missing initializations in WSGIRequest. Refs #20619
2013-06-26Fixed missing initializations in WSGIRequest. Refs #20619Loic Bistuer
2013-06-25Fixed #20653 -- Renamed checksetup management command.Russell Keith-Magee
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
2013-06-22Fixed #20311 -- Make sure makemessages doesn't create duplicate Plural-Forms ↵Ramiro Morales
.po file headers. Thanks naktinis for the report and initial patch.
2013-06-20Fixed #20632 -- Fixed {{ docs_version }} in project templateBaptiste Mispelon
2013-06-20Fixed #20486 -- Ensure that file_move_safe raises an error if the ↵Russell Keith-Magee
destination already exists. Thanks to kux for the report, and Russ Webber for the patch.
2013-06-19Removed several unused imports.Aymeric Augustin
2013-06-18Fixed #20199 -- Allow ModelForm fields to override error_messages from model ↵Loic Bistuer
fields
2013-06-18Refactored ValidationError to allow persisting error params and error codes ↵Loic Bistuer
as the exception bubbles up
2013-06-14Fixed python 3.2 compat.Florian Apolloner
2013-06-14Fixed #17076 -- When reversing a URL fails, inform the user which patterns ↵Wilfred Hughes
were tried.
2013-06-13Added a ``checksetup`` management command for verifying Django compatibility.Daniel Lindsley
2013-06-12Fixed #20579 -- Improved TransactionTestCase.available_apps.Aymeric Augustin
Also moved its documentation to the 'advanced' section. It doesn't belong to the 'overview'. Same for TransactionTestCase.reset_sequences. When available_apps is set, after a TransactionTestCase, the database is now totally empty. post_syncdb is fired at the beginning of the next TransactionTestCase. Refs #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-09Added runserver validation to detect if DEBUG=False and ALLOWED_HOSTS is empty.Tim Graham
Refs #19875.
2013-06-07Fixed #19925 - Added validation for REQUIRED_FIELDS being a listChris Streeter
Thanks Roman Alexander 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-02Fixed #20485 -- Refactored loaddata for speed.Aymeric Augustin
Thanks Anssi for reporting this performance bottleneck.
2013-06-01Fixed #18169 -- NoReverseMatch not silenced if from block.superAnssi Kääriäinen
2013-05-31Improved the usage message of the test command.René Fleschenberg
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-29Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz
Thanks mbertheau for the report and Ash Christopher for the initial patch.
2013-05-28Fixed #20484 -- Added model validation for GenericIPAddressFieldTim Graham
GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
2013-05-26Replaced `and...or...` constructs with PEP 308 conditional expressions.Ramiro Morales
2013-05-25Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.Preston Holmes
SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
2013-05-25Fixed #19938 -- Consumed iterator only once in paginator's PageAndrew Jesaitis
Thanks Joshua Fialkoff for the report.