Taking care of django 1.6 depreciation removal