docs: def get_new_filename(self, name: str) -> str:
          """
          Returns the file name to use based on the original filename of an uploaded file.
          By default, the file name is constructed as::
          
              <model_name>-<attribute_name>/<primary_key>/<original_basename>.<random_nonce>.<extension>
          """
          nonce = get_random_string(length=8)
          return '%s-%s/%s/%s.%s.%s' % (
              self.obj._meta.model_name, self.attribute_name,
              self.obj.pk, name, nonce, name.split('.')[-1]
          )