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: torsten.bron...@jabber.rwth-aachen.de
                                  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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to