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

@sqlalchemy-bot sqlalchemy-bot commented Feb 26, 2008

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

@sqlalchemy-bot sqlalchemy-bot commented Mar 1, 2008

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

@sqlalchemy-bot sqlalchemy-bot commented Mar 1, 2008

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.