parameters: (self, name)
return_statement: return uuid4().hex + os.path.splitext(name)[1]
docstring: Storage for backgrund images.
docstring_summary: Storage for backgrund images.
docstring_tokens: Storage for backgrund images .
function: def get_available_name(self, name):
          """
          Storage for backgrund images.
          """
          # If the filename already exists, remove it as if it was
          # a true file system
          #~ if self.exists(name):
              #~ os.remove(os.path.join(settings.MEDIA_ROOT, name))
          self.delete(name)
          return uuid4().hex + os.path.splitext(name)[1]
function_tokens: def get_available_name ( self , name ) : # If the filename already exists, remove it as if it was # a true file system #~ if self.exists(name): #~ os.remove(os.path.join(settings.MEDIA_ROOT, name)) self . delete ( name ) return uuid4 ( ) . hex + os . path . splitext ( name ) [ 1 ]