Django model form save (multi database) question

前端 未结 1 528
逝去的感伤
逝去的感伤 2021-01-17 06:45

another noob Django question. The below both work for me, is there any difference or anything I should be aware of ? I\'m using Django 1.2.5. Thanks.

o = Sta         


        
相关标签:
1条回答
  • 2021-01-17 07:07

    The first example does not work - it doesn't update the instance from the form. Use the second.

    0 讨论(0)
提交回复
热议问题