summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-11Fix syntax error under Python 3.2.Aymeric Augustin
2013-11-11Fixed #21351 -- Replaced memoize with Python's lru_cache.Bouke Haarsma
Replaced the custom, untested memoize with a similar decorator from Python's 3.2 stdlib. Although some minor performance degradation (see ticket), it is expected that in the long run lru_cache will outperform memoize once it is implemented in C. Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of replacing memoize with lru_cache.
2013-11-10added description of MySQL Connector/PythonDanSears
Reorganized the MySQLdb section into a "MySQL DB API Drivers" section that describes both MySQLdb and MySQL Connector/Python. Included description of the Django adaptors for these DB API drivers.
2013-11-10Fixed typo in tutorial 2; refs #21418.Tim Graham
2013-11-09Fixed #21372 -- Corrected docs regarding translating LANGUAGES.Bernardo Pires
Corrected LANGUAGES documentation on how to translate language names. Now using django.utils.translation.ugettext_lazy instead of a dummy gettext() function. Thanks to Salvatore for the report.
2013-11-09Fixed #14800 -- Suppressed WSGIRequestHandler message filteringClaude Paroz
Filtering out static file requests in runserver has been judged arbitrary and can hide some debugging-related activity. Thanks Roy Smith for the report and Aymeric Augustin for the review.
2013-11-09Fixed spelling of compatibility.Tim Graham
2013-11-09Fixed #21398 -- Fixed BCryptSHA256PasswordHasher with py-bcrypt and Python 3.Tim Graham
Thanks arjan at anymore.nl for the report.
2013-11-09Fixed doc typo.Tim Graham
2013-11-09flake8 fixAlex Gaynor
2013-11-09Fixed versionadded misuse in the admin documentation.Baptiste Mispelon
2013-11-09Fixed #21378 -- Updated tutorial02 for how to override admin site header.Vajrasky Kok
2013-11-09Recommended flake8 to check coding style.Tim Graham
2013-11-09Fixed #21383 -- Added request details in SuspiciousOperation messagesClaude Paroz
2013-11-09Don't initialize PostGIS-specific stuff for non-db connectionsClaude Paroz
Refs #16969.
2013-11-09Removed useless comment. Refs #21172Anssi Kääriäinen
2013-11-09Fixed #16969 -- Don't connect to named database when possibleClaude Paroz
Thanks Andreas Pelme for the report and initial patch, and Aymeric Augustin, Shai Berger and Tim Graham for the reviews.
2013-11-09Merge pull request #1743 from unaizalakain/ticket_21172Anssi Kääriäinen
Fixed #21172 -- have LiveServerThread follow the semantics of threading.Thread.join()
2013-11-08Noted that .clear() will delete intermediary modelsCody Scott
2013-11-08Fixed docs for EmailMessage extra_headers attributeTom Scholl
The EmailMessage documentation describes the initialization parameters and states they 'can be set at any time prior to calling the send() method.'. However, the 'headers' parameter's corresponding attribute is called 'extra_headers'.
2013-11-08Added missing parameter in npgettext_lazy docsglts
2013-11-08Flake8 fix -- correct number of newlines between top level definitionsAlex Gaynor
2013-11-08Fixed a typo in admindocs templateClaude Paroz
Thanks Reza Mohammadi for the report.
2013-11-08Fixed #17529 -- get_template_from_string default arguments breakUnai Zalakain
``get_template_from_string`` default arguments were breaking ``assertTemplateUsed``. The solution has been to return only the names of the templates with a ``name`` attribute distinct of ``None``. The default ``name`` kwarg of ``Template`` has been changed to ``None``, more pythonic than ``'<Unknown Template>'``.
2013-11-08Fixed #13970 -- Made SelectDateWidget use the standard widget is_required ↵Claude Paroz
attribute Thanks mitar for the report and Tim Graham for the review.
2013-11-08Removed obsolete locale restriction admonitionClaude Paroz
Refs #14461. Thanks Ramiro Morales for pointing this.
2013-11-08Fixed #21396: Document backwards-incompatible change in ↵Baptiste Mispelon
RedirectView.get_redirect_url. Thanks to Tim for the review.
2013-11-07Fixed a couple flake8 warnings.Tim Graham
2013-11-08Fixed #5849 -- Strip whitespace from blocktransBouke Haarsma
Add the trimmed option to the blocktrans tag to trim any newlines and whitespace from its content. This allows the developer to indent the blocktrans tag without adding new lines and whitespace to the msgid in the PO file. Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the report.
2013-11-07Merge pull request #1850 from unaizalakain/ticket_13725Anssi Kääriäinen
Fixed #13725 -- take url scheme into account in assertRedirects Thanks to Loic for review.
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