We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2803a9d commit ec275f4Copy full SHA for ec275f4
qiita_pet/handlers/study_handlers/edit_handlers.py
@@ -198,8 +198,8 @@ def post(self, study=None):
198
if study:
199
# Check study and user access
200
the_study = self._check_study_exists_and_user_access(study)
201
- # If the study is public or private, we use the short version
202
- if the_study.status in {'public', 'private'}:
+ # If the study is not sandbox, we use the short version
+ if study.status != 'sandbox':
203
form_factory = StudyEditorForm
204
205
# Get the form data from the request arguments
0 commit comments