You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we edit the installer script and test things, we often need to save the current draft of the script.
If we do that, all informations will be safed, except the field reason. This seems to be a bug ?
defedit_draft(request, draft_id, game=None):
"""Display an edit form for install scripts"""ifdraft_id:
draft=get_object_or_404(InstallerDraft, id=draft_id)
else:
draft=InstallerDraft(
user=request.user,
game=game,
created_at=timezone.now()
)
# Reset reason when the installer is edited.# THIS LINE HERE STARTdraft.reason=""# THIS LINE HERE ENDform=InstallerEditForm(request.POSTorNone, instance=draft)
ifrequest.method=="POST"andform.is_valid():
draft=form.save()
# draft.review = ""
If we edit the installer script and test things, we often need to save the current draft of the script.
If we do that, all informations will be safed, except the field
reason
. This seems to be a bug ?Before Save:
After Save:
Firefox: 132.0.1 (64-Bit); OS: Nobara (Fedora variant)
The text was updated successfully, but these errors were encountered: