| Age | Commit message (Collapse) | Author |
|
|
|
Since Python 2.5, KeyboardInterrupt and SystemExit are not subclasses of
Exception, so explicitly reraising them before the “except Exception” clause
is not necessary anymore.
|
|
|
|
|
|
|
|
|
|
This only affects the new cache api and not the deprecated get_cache.
Refs #21012
|
|
Thanks to trac user paultag for the report.
|
|
Actually comitted the code now :þ
|
|
This was particularly problematic in the chain get_wsgi_application
-> db.connections import -> signal connection -> settings configuration.
Thanks Jon Dufresne for the report.
|
|
|
|
Problem were users calling messages.debug/info/* with a wrong argument
and getting the error "You cannot add messages without installing
MessageMiddleware"
Thanks to trac-user merb for the report.
|
|
Fixed #20187 -- Allowed repeated iteration of HttpResponse.
All this became possible when support for old-style streaming responses was
finally removed.
|
|
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
8750296918072c97a51f6809d19828ce3f1b8d40 from stable/1.6.x.
|
|
Thanks Curtis Malony and Florian Apolloner.
Squashed commit of the following:
commit 3380495e93f5e81b80a251b03ddb0a80b17685f5
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 14:18:07 2013 +0100
Looked up the template_fragments cache at runtime.
commit 905a74f52b24a198f802520ff06290a94dedc687
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 14:19:48 2013 +0100
Removed all uses of create_cache.
Refactored the cache tests significantly.
Made it safe to override the CACHES setting.
commit 35e289fe9285feffed3c60657af9279a6a2cfccc
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 12:23:57 2013 +0100
Removed create_cache function.
commit 8e274f747a1f1c0c0e6c37873e29067f7fa022e8
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Nov 23 12:04:52 2013 +0100
Updated docs to describe a simplified cache backend API.
commit ee7eb0f73e6d4699edcf5d357dce715224525cf6
Author: Curtis Maloney <curtis@tinbrain.net>
Date: Sat Oct 19 09:49:24 2013 +1100
Fixed #21012 -- Thread-local caches, like databases.
|
|
Thanks to trac user parsch for the report.
|
|
Thanks productions@zaziork.co.uk for the review.
|
|
|
|
Refs #20806. Thanks Unai Zalakain for the review.
|
|
Thanks Bouke Haarsma for the review.
|
|
Thanks guido@20tab.com for the report and Tim Graham for the
analyze.
|
|
|
|
Report, analysis and tests from stephenmcd.
|
|
ModelAdmin displayed the "View on site" link even if the Model didn't
define the `get_absolute_url()` method.
|
|
Thanks agale031176@gmail.com for the report.
|
|
Thanks to Sergey Sorokin for the report and to Bouke Haarsma for the review.
|
|
Thanks to Tim for the review.
|
|
|
|
|
|
Reviewed by Chris Medrela.
|
|
Requests made with django.test.Client.login() and logout() respect
defaults defined in django.test.Client instantiation and are processed
through middleware.
Thanks to Loic for the reviews.
|
|
Thanks Keryn Knight for the report.
|
|
Thanks Elec for the report and Simon Charette for the review.
|
|
|
|
On Python 3 sorting Fields mixed with GenericForeignKeys doesn't work
as GenericForeignKey isn't a subclass of django.db.models.fields.Field.
Refs #21428.
|
|
The GenericRelation refactoring removed GenericRelations from
model._meta.many_to_many. This had the side effect of disallowing
editable GenericRelations in ModelForms. Editable GenericRelations
aren't officially supported, but if we don't fix this we don't offer any
upgrade path for those who used the ability to set editable=True
in GenericRelation subclass.
Thanks to Trac alias joshcartme for the report and stephencmd and Loic
for working on this issue.
|
|
|
|
20472aa827669d2b83b74e521504e88e18d086a1.
Also added some tests for HttpRequest.__repr__.
Note that the added tests don't actually catch the accidental code
removal (see ticket) but they do cover a codepath that wasn't tested
before.
Thanks to Tom Christie for the report and the original patch.
|
|
Unfortunately, escape sequences (\x.. or \u....) do not fit well
with the gettext toolchain. Falling back to using literal char,
even if visibility is not ideal.
|
|
As get_text_list is using translations, setup settings before
calling it.
|
|
|
|
definitions.
Refs #21432.
|
|
Thanks Enrique Martínez for the report and @bmispelon for the tests.
|
|
Fixes #21439
|
|
Regression introduced by commit 9777442.
Thanks to trac username troygrosfield for the report and test case.
|
|
|
|
|
|
Fixed #21388 -- Corrected language code for Frisian
|
|
|
|
Exposing the level name (e.g. "info") makes it possible to prepend
something to the class name. For example, Twitter Bootstrap has
an alert-info class. This class can now be added to the message
using `class="alert-{{ message.level_tag }}".
Because the level_tag was on the end of the `tags` property, it
could not be used in this fashion when extra_tags were given.
|