Added django version of prefix_key