Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Save description and is_public on uploads. SQLSHR-177
Browse files Browse the repository at this point in the history
  • Loading branch information
vegitron committed Jun 29, 2015
1 parent 8e7a9f0 commit 71131aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sqlshare_rest/util/dataset_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def worker():
oldest.dataset_name,
dataset_sql)

dataset.description = oldest.dataset_description
dataset.is_public = oldest.dataset_is_public
dataset.save()
oldest.dataset = dataset
oldest.dataset_created = True
oldest.save()
Expand Down

0 comments on commit 71131aa

Please sign in to comment.