I am happier with this code than with figuring out how to tell Django to rename static files on the fly, although if someone was particularly comfortable with Django's staticfiles app and/or middleware (which could be used to intercept requests and alter responses) then we could certainly give it a shot.  There's a bit of hackiness in that solution too.