We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
管理员修改话题信息时,话题创建时间变成了修改时间
The text was updated successfully, but these errors were encountered:
看起来是这行代码:https://github.com/openparty/openparty/blob/master/apps/core/models/topic.py#L31 把 auto_now 设置为 False 应该就可以了。 Django 文档:https://docs.djangoproject.com/en/1.7/ref/models/fields/#datefield
Sorry, something went wrong.
另外,根据 Django 文档,设置了 auto_now 或者 auto_now_add 会默认覆盖 editable 为 False, blank 为 True。
No branches or pull requests
管理员修改话题信息时,话题创建时间变成了修改时间
The text was updated successfully, but these errors were encountered: