summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-12-02Added cpl error codes to errcheck functionsDaniel Wiesmann
GDAL raster methods return different error codes from the vector API.
2014-12-02Added GDAL prototypes for raster supportDaniel Wiesmann
Refs #23804.
2014-12-02Fixed #23946 -- Fixed runserver crash when socket error contains Unicode chars.Andriy Sokolovskiy
2014-12-02Fixed #23934 -- Fixed regression in admin views obj parameter.Kamil Braun
2014-12-02Fixed typo in django/dispatch/dispatcher.py docstring.jerry dumblauskas
2014-12-01Fixed #23945 -- Made default site use the configured SITE_ID.wrwrwr
2014-12-01Fixed #23807 -- Ignored non-digits in psycopg2 versionAndriy Sokolovskiy
2014-12-01Fixed #23289 -- Added mock as a test dependency.Tim Graham
2014-12-01Fixed #23929 -- Added more tests for create_default_site.wrwrwr
Refs: #15346, #15573, #16353, #16828.
2014-12-01Fixed #23909 -- Prevented crash when collecting SQL for RunSQLClaude Paroz
Thanks James Rivett-Carnac for the report and Markus Holtermann for the review.
2014-12-01Removed a clear_cache statement in contrib.sites.create_default_site.wrwrwr
It was originally added to fix a test (refs #7514); but Site now has a pre_save signal handler (refs #19698) to clear the cache which makes this call redundant.
2014-12-01Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ↵wrwrwr
#23933.
2014-12-01Fixed #23933 -- Made override_settings(DATABASE_ROUTERS) affect the master ↵wrwrwr
router.
2014-12-01Fixed #23880 -- Added missing index_together handling for SQLiteMarkus Holtermann
2014-12-01Restored the 'TEST_' prefix in the warning about deprecated test database ↵Shai Berger
settings
2014-11-29Fixed #23930 -- Added copies of captured_std* managers from CPython's ↵wrwrwr
test.support. StringIO import was adapted for compatibility with Python 2.
2014-11-29Fixed #17890 -- Added an extra_context parameter to AdminSite.password_change().Berker Peksag
2014-11-28Fixed #23423 -- Added unaccent lookup in django.contrib.postgresThomas Chaumeny
2014-11-28Corrected deprecation warnings for RedirectView; refs #21587.Berker Peksag
2014-11-28Fixed #4444 - Made runserver suppress 'broken pipe' errorsMatthew Somerville
One handler in WSGIServer, to catch the error when raised from SocketServer.BaseServer's finish_request, and one in WSGIRequestHandler (by creating a subclass of ServerHandler), to catch the error when raised in wsgiref.handlers.BaseHandler's finish_response.
2014-11-28Fixed #23925 -- Allowed settings.AUTHENTICATION_BACKENDS to reference import ↵sdeprez
aliases
2014-11-28Fixed #23728 -- Added the --exit option to makemigrations.Tim Heap
If no changes that need migrations are found, `makemigrations --exit` exits with error code 1.
2014-11-28Fixed #23853 -- Added Join class to replace JoinInfoAnssi Kääriäinen
Also removed Query.join_map. This structure was used to speed up join reuse calculation. Initial benchmarking shows that this isn't actually needed. If there are use cases where the removal has real-world performance implications, it should be relatively straightforward to reintroduce it as map {alias: [Join-like objects]}.
2014-11-28Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen
Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews.
2014-11-28Fixed #23894 -- Made deconstruct methods favor kwargs over argsMarkus Holtermann
2014-11-28Fixed #23910 -- Added reply_to parameter to EmailMessageMartin Blech
Thanks to Berker Peksag and Tim Graham for the review and suggestions.
2014-11-28Fixed #16731 -- Made pattern lookups work properly with F() expressionsThomas Chaumeny
2014-11-27Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães
Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
2014-11-27Fixed #23924 -- Made EmailMessage raise TypeError for type checksMartin Blech
2014-11-27Fixed #23641 -- Moved post_migrate signals for contrib apps to ↵wrwrwr
AppConfig.ready().
2014-11-27Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode.Berker Peksag
2014-11-27Fixed #23877 -- aggregation's subquery missed target colAnssi Kääriäinen
Aggregation over subquery produced syntactically incorrect queries in some cases as Django didn't ensure that source expressions of the aggregation were present in the subquery.
2014-11-27Fixed #23875 -- cleaned up query.get_count()Anssi Kääriäinen
2014-11-26Fixed #23801 -- Added warning when max_length is used with IntegerFieldMattBlack85
2014-11-26Fixed #23867 -- removed DateQuerySet hacksAnssi Kääriäinen
The .dates() queries were implemented by using custom Query, QuerySet, and Compiler classes. Instead implement them by using expressions and database converters APIs.
2014-11-26Fixed #23677 -- Removed contrib.formtoolsTim Graham
2014-11-26Adjusted a comment to reflect some app refactor changes.Simon Charette
2014-11-25Fixed #23914 -- Improved {% now %} to allow storing its result in the context.Baptiste Mispelon
Thanks to Tim for the review.
2014-11-25Fixed #23915 -- Made sure m2m fields through non-pk to_field are allowed in ↵Simon Charette
the admin. refs #23754, #23862
2014-11-25Fixed #23754 -- Always allowed reference to the primary key in the adminSimon Charette
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review.
2014-11-25Fixed #23898 -- Added missing context to admin's deleted_selected view.Redouane Zait
Thanks Redouane Zait for the report.
2014-11-25Fixed bug in circular dependency algo for migration dependencies.Luke Plant
Previous algo only worked if the first item was a part of the loop, and you would get an infinite loop otherwise (see test). To fix this, it was much easier to do a pre-pass. A bonus is that you now get an error message that actually helps you debug the dependency problem.
2014-11-25Fixed #23682 -- Enhanced circular redirects detection in tests.wrwrwr
When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews.
2014-11-25Fixed #23899 -- Added 'Generated by Django X.Y' to startproject template.Martin Blech
2014-11-25Fixed #21587 -- Added a warning for changing default of RedirectView.permanent.Berker Peksag
2014-11-24Fixed #23742 -- Added an option to reverse tests order.wrwrwr
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
2014-11-24Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode.Sergey Fedoseev
2014-11-24Removed workaround for lack of os.getpid() in Jython.Tim Graham
The Jython bug was fixed in http://bugs.jython.org/issue1518 (tested on Jython 2.7b3); also updated make_msgid() to be more like the version in Python 3.2+; refs #23905. Thanks Simon Charette for testing and review.
2014-11-24Fixed #13694 -- Made SafeMIMEText's constructor compatible with MIMEText.Berker Peksag
2014-11-24Fixed typo in django/utils/decorators.py comment.Tom V