miniblog.
← Back to all posts
Nov 27, 2013 at 11:46
Argh. Django's .get_profile() caches the UserProfile, which can cause surprises if you're modifying the profile elsewhere.
Wilfred Hughes
Related Posts
Nov 28, 2013 at 11:26
Django's loaddata command does not give you full tracebacks by default. Argh. Turns out there's a --traceback command line argument though.
Wilfred Hughes
Shared words: Argh, Django Score: 107.7
Feb 11, 2014 at 16:08
On a related note, I've release a new version of django-function-cache
https://github.com/Wilfred/django-function-cache
with Python 2.6 support and test coverage!
GitHub - Wilfred/django-function-cache: Cache (memoize) a function's output using Django's caching API
Cache (memoize) a function's output using Django's caching API - Wilfred/django-function-cache
Wilfred Hughes
Shared words: Django, caches Score: 63.5
Nov 27, 2013 at 11:47
Johnny Cache:
https://pythonhosted.org/johnny-cache/
is a much better solution for Django caching anyway, as it caches all redundant reads.
Johnny Cache — Johnny Cache 1.4 documentation
pythonhosted.org/johnny-cache/
Wilfred Hughes
Shared words: Django, caches Score: 63.5