Elver Loho wrote:
> Can Django's caching framework somehow be used to cache the output of
> any function?
>
[...]
>
> Does Django offer any decorators for caching the output of any
> function, such as get_latest_books, based on the arguments passed to
> it?
>
[...]
Such decorators already exist.
Hi Adrian,
Thanks for the tip; both my problems seem to be solved by using
encode('UTF-8').
Cheers,
--Tim
Hi,
I'm developing my first Django app (a photoalbum-app) and ran into a
problem with the database.
Besides the unicode-problem mentioned in another post, I have a problem
where it seems 1 directory-name, 'NEW', seems to confuse the system. It
might be a problem with PsycoPG... perhaps with Djan
I'm working on my first Django app (a photoalbum) and ran across a
problem with Unicode filenames (on windows XP).
I'm storing directory names in a database. At first I was reading the
directory-names as plain strings, and all was well. Then I ran across a
file that was in some strange (cyrillic)
4 matches
Mail list logo