summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-07Fixed #13725 -- take url scheme into account in assertRedirectsUnai Zalakain
Scheme is handled correctly when making comparisons between two URLs. If there isn't any scheme specified in the location where we are redirected to, the original request's scheme is used. If present, the scheme in ``expected_url`` is the one used to make the comparations to.
2013-11-07Added 1.4.10 release notes.Tim Graham
2013-11-07Removed no longer relevant wordSylvain Bellemare
2013-11-07Fixed #20536 -- rewrite of the file based cache backendJaap Roes
* Safer for use in multiprocess environments * Better random culling * Cache files use less disk space * Safer delete behavior Also fixed #15806, fixed #15825.
2013-11-07Added more items to the release checklist.Baptiste Mispelon
2013-11-07Fixed #17001 -- Custom querysets for prefetch_related.Loic Bistuer
This patch introduces the Prefetch object which allows customizing prefetch operations. This enables things like filtering prefetched relations, calling select_related from a prefetched relation, or prefetching the same relation multiple times with different querysets. When a Prefetch instance specifies a to_attr argument, the result is stored in a list rather than a QuerySet. This has the fortunate consequence of being significantly faster. The preformance improvement is due to the fact that we save the costly creation of a QuerySet instance. Thanks @akaariai for the original patch and @bmispelon and @timgraham for the reviews.
2013-11-07Fixed #20600 -- ordered distinct(*fields) in subqueriesAnssi Kääriäinen
2013-11-07Removed non-necessary code in Compiler._setup_joins()Anssi Kääriäinen
2013-11-07Removed Query.setup_joins() and join() argument outer_if_first.Anssi Kääriäinen
Instead always create new joins as OUTER.
2013-11-07Fixed #11320 -- exclude() too aggressive in join promotionAnssi Kääriäinen
2013-11-07Fixed #21376 -- New implementation for query join promotion logicAnssi Kääriäinen
This commit introduced a new class JoinPromoter that can be used to abstract away join promotion problems for complex filter conditions. Query._add_q() and Query.combine() now use the new class. Also, added a lot of comments about why join promotion is done the way it is. Thanks to Tim Graham for original report and testing the changes, and for Loic Bistuer for review.
2013-11-071.6 isn't under development any more.Aymeric Augustin
Partial forward port of a71ff76 from stable/1.6.x.
2013-11-06flake8 fixesAlex Gaynor
2013-11-06Added missing info to the release checklist.Baptiste Mispelon
2013-11-06Allow squashing of squashed migrationsAndrew Godwin
2013-11-06Massive migration optimiser improvements + RenameModel opnAndrew Godwin
2013-11-06Distinguish between browser-deprecated locales and internallyBaptiste Mispelon
deprecated ones. Thanks to bouke for pointing this out.
2013-11-06Fixed typos in documentation.Baptiste Mispelon
2013-11-06Fixed another typo introduced by b914991b3705cb6c91013d962c55cda9deb18d83.Baptiste Mispelon
Thanks Claude for catching it.
2013-11-06Fixed #21387 -- Merge two very similar help texts.Ramiro Morales
2013-11-05Fixed a documentation typo introduced by b914991b37.Simon Charette
2013-11-06Added more tests and documentation for dictsort.Baptiste Mispelon
It's possible to use something like {{ foo|dictsort:'bar.baz' }} but this wasn't tested or documented.
2013-11-05Improved English in release notes for runserver.Aymeric Augustin
Thanks Tim.
2013-11-05Fix python2 breakage caused by e5e044da87800feb6ef63fef1765d8c05022d926.Baptiste Mispelon
2013-11-05Fixed #18419 -- Full backwards compatibility for old language codesBouke Haarsma
Improved documentation about zh-* deprecation and upgrade path. Thanks to Baptiste Mispelon for the code reviews.
2013-11-05Fixed #10461 -- bug in generic relation + annotate() caseAnssi Kääriäinen
This issue was fixed when the contenttype restriction was moved from where clause to the join clause. So, this is tests only addition.
2013-11-05Flake8 fixesAlex Gaynor
2013-11-04Fixed python3 breakage introduced by c0a2388a1c4ead1afaec98e4ebc953a772ca3849.Baptiste Mispelon
2013-11-04Improved changelog for runserver in 1.7.Aymeric Augustin
2013-11-04Merge pull request #1868 from Bouke/tickets/18419Aymeric Augustin
Fixed #18149 -- Changed language codes for Chinese
2013-11-04Fixed #18149 -- Changed language codes for ChineseBouke Haarsma
Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional). Added support for browsers that still send the deprecated language codes. Thanks to Olli Wang for the report.
2013-11-04Merge pull request #1821 from Bouke/tickets/14170Aymeric Augustin
#14170 -- Reset i18n cache when settings changed
2013-11-04Updated the set of watched files after each request.Aymeric Augustin
Otherwise the kqueue-based autoreloader may not see changes to files that weren't imported when the server started. Thanks Bouke Haarsma for the report and Loïc Bistuer for locating the problem.
2013-11-04Simplify (and very very slightly speed up) the pbkdf2 implementationAlex Gaynor
2013-11-04Fixed ticket #21172Unai Zalakain
LiveServerThread.join() now behaves like threading.Thread.join(). LiveServerThread.terminate() is instead used to ask live http server to terminate and close.
2013-11-03Fixed #21322 -- Error message when CSRF cookie is missingBouke Haarsma
Thanks to Henrik Levkowetz and olau for their reports and initial patches.
2013-11-03Fixed all E251 violationsAlex Gaynor
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-11-03Merge pull request #1852 from jasonamyers/cleanup/PEP8Alex Gaynor
Cleanup/pep8 tests
2013-11-03Merge pull request #1861 from milmazz/E251Alex Gaynor
Fixed flake8 E251 violations
2013-11-03Merging in masterJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-03Fixed some testfailures on jenkins.Florian Apolloner
Depending on the order of the tests beeing run, 10 can be a valid pk, 0 can never be a valid pk and as such we will get the wanted ValidationError.
2013-11-03Fixed regressions from 36ded01527b690b5df0574492af9cfcc2ea3d1dc.Florian Apolloner
Refs #21302
2013-11-03Fixed #20849 -- ModelForms do not work well with prefetch_related.Jim Bailey
model_to_dict() (used when rendering forms) queries the database to get the list of primary keys for ManyToMany fields. This is unnecessary if the field queryset has been prefetched, all the keys are already in memory and can be obtained with a simple iteration.
2013-11-03Fixed flake8 E251 violationsMilton Mazzarri
2013-11-03Whitespace fixAlex Gaynor
2013-11-03Re-expose Count hereAlex Gaynor
2013-11-03Fixed #14170 -- Reset i18n cache when settings changeBouke Haarsma
2013-11-03Merge pull request #1853 from loic/dstAymeric Augustin
Fixed failing test around DST change.
2013-11-02Merging UpstreamJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>