@@ -0,0 +1,489 @@
+#!/usr/bin/python%0A# -*- coding: utf-8 -*-%0A%0Aimport uuid%0A%0Afrom pathlib import PurePath%0A%0Afrom django.utils.deconstruct import deconstructible%0A%0A%0A@deconstructible%0Aclass RandomFileName(object):%0A%0A    def __eq__(self, other):%0A        return True%0A%0A    def __call__(self, instance, filename):%0A        path = PurePath(%0A            instance._meta.app_label,%0A            instance._meta.model_name,%0A            str(uuid.uuid4())%0A        )%0A        return str(path.with_suffix(PurePath(filename).suffix))%0A

Add filename generator to base utils.