Workaround for django su 1.6 support