Hallöchen!
For timestamp and ETag in conditional view processing, I have to
pass two function to the @conditional decorator. However, I've used
this twice so far, and both times I needed common DB access in both
methods. Thus, I embedded the common data in a custom attribute of
the "request" object. Not beautiful.
Wouldn't it make sense to have an etag_last_modified_func parameter
for @conditional? Before I create a ticket, I'd like to see whether
others have run into the same problem, or whether there is a
solution that I've missed.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [email protected]
or http://bronger-jmp.appspot.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.