“BadValueError: Property category is required” on GAE

核能气质少年 提交于 2019-12-02 07:48:48

There might be some entities in your current datastore that don't have the category property, or other required properties, filled out. This could sometimes happen when you add the property to your model after already creating some other entities before that. Or perhaps adding the required=True option to a property that previously wasn't required.

If you are playing with dev data, I would suggest that you either clear your datastore or delete all your Question entities, and see if that works.

Otherwise, you'd have to manually add data to all the required fields or remove the required=True option.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!