- #68: Support recursive template inheritance in django mobile template loader, so that we are compatible with Django's 1.9 admin. Thanks to @wolfg1969 for the patch.
#64: Fixing
cache_page
decorator and splitting theCacheFlavourMiddleware
into two middlewares. This follows the same strategy as Django did since quite a while. Please see #64 for more details about why this is necessary.If you are using
CacheFlavourMiddleware
, you need to replace it now withFetchFromCacheFlavourMiddleware
andUpdateCacheMiddleware
. Please consolidate the README for more information.Thanks to Yury Paykov for the patch.
- #63: Django 1.9 support. Thanks to Alexandre Vicenzi for the patch.
- #58: Fix Python 3 install issues related to unicode strings. Thanks to Zowie for inspiring the patch.
- Support for Django 1.7 and Django 1.8. Thanks to Jose Ignacio Galarza and to Anton Shurashov for the patches.
- Python 3.3 compatibility, thanks Mirko Rossini for the patch.
- Dropping Django 1.3 and 1.4 support.
- Dropping support for python 2.5 (it might still work but we won't test against it anymore).
- Fixing threading problems because of wrong usage of
threading.local
. Thanks to Mike Shultz for the patch. - Adding a cached template loader. Thanks to Saverio for the patch.
- FIX: Cookie backend actually never really worked. Thanks to demidov91 for the report.
- FIX: set flavour in all cases, not only if a mobile browser is detected. Thanks to John P. Kiffmeyer for the report.
- FIX: Opera Mobile on Android was categorized as mobile browser. Thanks to dgerzo for the report.
- Sniffing for iPad so that it doesn't get recognized as small mobile device. Thanks to Ryan Showalter for the patch.
- Fixed packing issues that didn't include the django_mobile.cache package. Thanks to Scott Turnbull for the report.
- Restructured project layout to remove settings.py and manage.py from top-level directory. This resolves module-name conflicts when installing with pip's -e option. Thanks to bendavis78 for the report.
- Added a
cache_page
decorator that emulates django'scache_page
but takes flavours into account. The caching system would otherwise cache the flavour that is currently active when a cache miss occurs. Thanks to itmustbejj for the report. - Added a
CacheFlavourMiddleware
that makes django's caching middlewares aware of flavours. We use interally theVary
response header and theX-Flavour
request header.
- Fixed issue in template loader that only implemented
load_template_source
but noload_template
. Thanks to tylanpince, rwilcox and Frédéric Roland for the report.
- Fixed issue with
runserver
command that didn't handled all request independed from each other. Thanks to bclermont and Frédéric Roland for the report.
- Fixed unreferenced variable error in
SetFlavourMiddleware
.
- Fixed
is_usable
attribute fordjango_mobile.loader.Loader
. Thanks Michela Ledwidge for the report.
- Initial release.