First version of django kmatch