Fix nexus to work with later django versions.