using native deepcopy now to be compatible with django 1.6