Detect django version