code: def get_uploads(text):
      
      uploads = []
      for match in UPLOAD_RE.finditer(text):
          try:
              upload = FileUpload.objects.get(slug=match.group(1))
          except FileUpload.DoesNotExist:
              continue
          yield upload
docs: Return a generator yielding uploads referenced in the given text.