publishers_12.py 306 B

123456789
  1. def edit_upload(pub, upload, meta=None):
  2. """Editing is the process which converts an uploaded file into one or more
  3. files of published content.
  4. """
  5. upload = store_upload(pub, upload, upload.name, meta)
  6. async_upload = run_pub_scripts.delay(pub, upload)
  7. return upload, async_upload