@condition(etag_func=(lambda r: WEAK_ETAG))
def etag_view_weak(request):
 return HttpResponse(FULL_RESPONSE)

@ condition ( etag_func = ( lambda r : WEAK_ETAG ) ) def etag_view_weak ( request ) : return HttpResponse ( FULL_RESPONSE )
use an etag_func() that returns a weak etag .