Django: Field Error Unknown fields

前端 未结 1 622
醉酒成梦
醉酒成梦 2021-02-19 04:14

I just installed OS X Lion, so I had to reinstall everything for Python2.7. In doing that I upgraded my Django to 1.3 from 1.2.3. When I try and runserver, I get an odd field er

1条回答
  •  北荒
    北荒 (楼主)
    2021-02-19 04:44

    Try

        fields = ('message',)
    

    To create a tuple with only one element.

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