Using Python's copy instead of Django's copycompat since it was deprecated in Django 1.6