| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651.
Refs #21765.
|
| |
|
|
|
|
|
|
|
|
|
| |
d97bf2e9c8971764690caaf81a0914bc368d6b02.
Refs #21765.
Thanks to kezabelle for the quick report and to onjin
for providing the patch.
|
|
|
|
| |
instances
|
|
|
|
| |
Thanks rmoe for the report and the patch.
|
|
|
|
|
|
|
|
| |
blocktrans
Thanks keturn for the reporti, Chris Medrela for details and
Tim Graham for the review.
Refs #19915.
|
|
|
|
| |
Thanks Michael Manfre for the report.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filesystem path.
Wherever possible this filesystem path is derived automatically from the app
module's ``__path__`` and ``__file__`` attributes (this avoids any
backwards-compatibility problems).
AppConfig allows specifying an app's filesystem location explicitly, which
overrides all autodetection based on ``__path__`` and ``__file__``. This
permits Django to support any type of module as an app (namespace packages,
fake modules, modules loaded by other hypothetical non-filesystem module
loaders), as long as the app is configured with an explicit filesystem path.
Thanks Aymeric for review and discussion.
|
|
|
|
|
| |
The translation.override context manager cleans up after itself. As a
consequence this mixin isn't needed any more in many cases.
|
|
|
|
|
|
| |
and used throughout test suite.
Thanks Aymeric for the suggestion.
|
|
|
|
| |
the tests. It is deprecated in Python 3.4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This (nearly) completes the work to isolate all the test modules from
each other. This is now more important as importing models from another
module will case PendingDeprecationWarnings if those modules are not in
INSTALLED_APPS. The only remaining obvious dependencies are:
- d.c.auth depends on d.c.admin (because of the is_admin flag to some
views), but this is not so important and d.c.admin is in
always_installed_apps
- test_client_regress depends on test_client. Eventually these should
become a single module, as the split serves no useful purpose.
|
| |
|
|
|
|
|
| |
It's now easier to achieve the same effect with modify_settings or
override_settings.
|
|
|
|
| |
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
|
|
|
|
| |
Used the app cache's get_app_configs() method instead.
|
|
|
|
| |
It's now consistent with RenderContext.get.
|
|
|
|
|
|
|
| |
Added comments in the three empty models.py files that are still needed.
Adjusted the test runner to add applications corresponding to test
labels to INSTALLED_APPS even when they don't have a models module.
|
| |
|
|
|
|
| |
template tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
find_template
Refs #20806. Thanks Unai Zalakain for the review.
|
| |
|
|
|
|
| |
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
refs #21230.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
|
|
|
|
| |
Thanks Xelnor for the patch.
|
|
|
|
|
|
|
| |
initialization.
Thanks tobias for the suggestion and boblefrag and saz for work on the
patch.
|
|
|
|
|
|
|
|
|
|
|
| |
to override TEMPLATE_DIRS.
* django.template.loader.get_template()
* django.template.loader.select_template()
* django.shortcuts.render()
* django.shortcuts.render_to_response()
Thanks amcnabb for the suggestion.
|
|
|
|
|
|
|
|
| |
and relative paths.
Thanks Rainer Koirikivi for the report and draft patch.
This is a security fix; disclosure to follow shortly.
|
|
|
|
|
|
| |
django.utils.tzinfo.
Refs #17262.
|
| |
|
|
|
|
| |
Thanks to robin for the report and claudep for the review.
|
|
|
|
|
|
| |
instances.
Thanks jdunck for the suggestion.
|
| |
|
|
|
|
| |
comprehensions.
|