i want to update only one field in django using model Forms

前端 未结 0 2010
不思量自难忘°
不思量自难忘° 2021-02-05 02:24

modelForms

class OrderForm(ModelForm):
    class Meta:
        model = Order
        fields = \'__all__\'

*views.py *
def update_order(request,pk):
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题