-
git stash
保存当前的工作进度。会分别对暂存区和工作区的状态进行保存
-
git stash save "message..."
这条命令实际上是第一条 git stash
命令的完整版
class PaperForm(forms.ModelForm): | |
score = forms.TypedChoiceField( | |
label="Score", | |
choices=((100, "A"), (80, "B"), (60, "C"), (0, "D")), | |
coerce=lambda x: int(x), | |
widget=forms.RadioSelect, | |
required=True, | |
) | |
class Meta: |