summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2012-12-31Fixed #17078 -- Made shell use std IPython startup.Ramiro Morales
This allows for a behavior more in line with what is expected by Ipython users, e.g. the user namespace is initialized from config files, startup files. Thanks Benjamin Ragan-Kelley from the IPython dev team for the patch.
2012-12-31Fixed #19519 -- Fired request_finished in the WSGI iterable's close().Aymeric Augustin
2012-12-31Fixed #16241 -- Ensured the WSGI iterable's close() is always called.Aymeric Augustin
Thanks Graham Dumpleton for the report.
2012-12-29Advanced pending deprecation warnings.Aymeric Augustin
Also added stacklevel argument, fixed #18127.
2012-12-29Removed django.core.management.setup_environ and execute_manager.Aymeric Augustin
2012-12-29Removed django.core.cache.backends.memcached.CacheClass.Aymeric Augustin
2012-12-22Fixed #19468 -- Decoded request.path correctly on Python 3.Aymeric Augustin
Thanks aliva for the report and claudep for the feedback.
2012-12-18Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/loading.py django/db/models/options.py
2012-12-09Edited the middleware doc for completeness, clarity, and consistency.Aymeric Augustin
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.
2012-12-06Fixed #19367 -- Fixed saving ContentFile in filesystem storageClaude Paroz
This was not working properly when ContentFile was initialized with an unicode string. Thanks Alexey Boriskin for the report and the test.
2012-12-03Fixed #19416 -- Fixed multi-line commands in initial SQL filesClaude Paroz
Thanks Aymeric Augustin for detecting this regression.
2012-12-03Fixed #19397 -- Crash on binary files in project templates.Aymeric Augustin
Thanks gw 2012 at tnode com for the report.
2012-11-24Removed some stray debug lines introduced accidentally in c8985a8.Russell Keith-Magee
2012-11-24Fixed #19806 -- Ensure that content types and permissions aren't created for ↵Russell Keith-Magee
swapped models. Thanks to rizumu for the report.
2012-11-21Paginator._get_page hookChris Beaven
This allows for Paginator subclasses to easily override the Page class that gets used. Took the opportunity to also do some non-invasive PEP8 tidying of the paginator module.
2012-11-17Refactor loaddata for readability.Ramiro Morales
Thanks Claude Paroz and Daniel Moisset for review and feedback.
2012-11-17Merge pull request #490 from gabrielhurley/reverse-prefix-special-charsJannis Leidel
Fixed #18210 -- Escaped special characters in reverse prefixes.
2012-11-14Fixed #19186 -- Fixed sending mail with unicode content on Python 3Claude Paroz
Thanks alex_po for the report and Luke Plant for the analysis.
2012-11-11Tweaked cache key creation to avoid strict typing.Aymeric Augustin
This is a provisional change. See #19221 for details.
2012-11-11Merge pull request #218 from mgrouchy/ticket_18582Aymeric Augustin
Fixed #18582 -- Added a no-op close to BaseCache
2012-11-10Fixed #19273 -- Fixed DB cache backend on pg 9.0+ and py3Anssi Kääriäinen
There was a problem caused by Postgres 9.0+ having bytea_output default value of 'hex' and cache backend inserting the content as 'bytes' into a column of type TEXT. Fixed by converting the bytes value to a string before insert.
2012-11-10Removed an impossible code path in cache functionClaude Paroz
2012-11-09Fixed #19261 -- Delayed Queryset evaluation in paginatorsClaude Paroz
Thanks trbs for the report and the patch.
2012-11-08Made Page class inherit collections.SequenceClaude Paroz
2012-11-07Fixed #19257 -- Don't swallow command's KeyError in call_commandClaude Paroz
Thanks Giovanni Bajo for the report.
2012-11-06Fixed #14315 -- Made memcached backend handle negative incr/decr valuesClaude Paroz
Thanks Michael Manfre for the report and initial patch and Tobias McNulty for the review.
2012-11-04Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to ↵Alex Gaynor
jgelens for the original patch.
2012-11-03Fixed #18963 -- Used a subclass-friendly patternAymeric Augustin
for Python 2 object model compatibility methods.
2012-11-03Fixed #18210 -- Escaped special characters in reverse prefixes.Gabriel Hurley
Ensured that special characters passed in to reverse via the prefix argument are properly escaped so that calls to django.utils.regex_helpers.normalize and/or string formatting operations don't result in exceptions. Thanks to toofishes for the error report.
2012-11-03Prevented host resolution when running dev serverClaude Paroz
Refs #19075, #2494. Thanks Karen Tracey for spotting the issue.
2012-10-30Fixed #5076 -- Properly decode POSTs with non-utf-8 payload encodingClaude Paroz
Thanks daniel at blogg.se for the report and Aymeric Augustin for his assistance on the patch.
2012-10-28Required serializer to use bytes in loads/dumpsAymeric Augustin
loads has no way to tell if it should provide text or bytes to the serializer; bytes are more reasonnable for a serialized representation, and are the only option for pickled data. dumps can perform conversions on the value it receives from the serializer; but for consistency it seems better to require bytes too. The current code would cause an exception when loading pickled session data. See next commit. Also fixed a bug when checking for compressed data.
2012-10-27Fixed #18978 -- Moved cleanup command to sessions.Aymeric Augustin
This removes a dependency of 'core' on 'contrib'.
2012-10-26Merge branch 'master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/models/fields/related.py django/db/models/options.py
2012-10-24Removed a function that is already fully implemented by a base class.Alex Gaynor
2012-10-21Updated error message for bad database enginePreston Holmes
removing typo in the process. Thanks to Carlos Palol for the catch. Closes pull 450
2012-10-20Removed custom WSGIRequestHandler.get_environClaude Paroz
We probably historically customized it for good reasons, but currently, the differences with upstream Python are not significant any longer. Also fixes #19075 for which a test has been added.
2012-10-20Fixed #19150 -- Added validation for USERNAME_FIELD being included in ↵Russell Keith-Magee
REQUIRED_FIELDS. Thanks to Chris Pagnutti for the suggestion.
2012-10-11Fixed #19107 -- Workarounded message-encoding bug on Python < 2.6.6Claude Paroz
Thanks Bernardo Pires for the report.
2012-10-10Fixed error output from runserverClaude Paroz
This has been missed in commit 822d6d6dab (Refs #18325).
2012-10-09Fixed #17867 -- Made email validation pass with IDN domainsClaude Paroz
Thanks Pierre Matri for the report and the initial patch.
2012-10-06Ensure we ignore __pycache__ PEP 3174 dirs in a few more places.Ramiro Morales
2012-10-02Fixed #19049 -- Ensure that swapped models aren't included in reverse field ↵Russell Keith-Magee
caches. Thanks to Ivan Virabyan for the report.
2012-10-01Cleaned up loaddata command options help textPreston Holmes
2012-09-30Fixed #9279 -- Added ignorenonexistent option to loaddataPreston Holmes
Thanks to Roman Gladkov for the initial patch and Simon Charette for review.
2012-09-29Merge branch 'ticket15695'Florian Apolloner
2012-09-27Fixed #15695 -- Added `ResolverMatch` to the request object.Florian Apolloner
2012-09-26Fixed #18845 -- Do not swallow AttributeErrors when running commandsClaude Paroz
2012-09-26Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mailAdrien Lemaire