Add a fallback for older Django versions that doesn't come with "six"