Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use args in cache_key #78

Closed
sqlalchemy-bot opened this issue Feb 26, 2008 · 2 comments
Closed

use args in cache_key #78

sqlalchemy-bot opened this issue Feb 26, 2008 · 2 comments

Comments

@sqlalchemy-bot
Copy link

Migrated issue, originally created by Anonymous

use function args in cache_key is very usefull:

<%def name="foo(id)" cached="True" cache_key="foo_${id}">
${id}
</%def>

Attachments: args_cache_key.patch

@sqlalchemy-bot
Copy link
Author

Michael Bayer (@zzzeek) wrote:

very nice ! something is up with your patch tool as I had to recreate the patch manually, but after that it was good. this is committed in b64d6f4, thanks for the feature !

@sqlalchemy-bot
Copy link
Author

Changes by Michael Bayer (@zzzeek):

  • changed status to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant