# 如何向模型添加自定义字段

**URL:** <https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485>\
**Category:** Extras\
**Tags:** pavilion\
**Created:** [2021年三月26日 07:53 UTC](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485 "2021-03-26T07:53:44Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [2024年十月31日 11:49 UTC](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485/42 "2024-10-31T11:49:23Z")

</div>

我已将“主题自定义字段”指南更新至 Discourse `3.4.0`。下周我将更新类别指南。

> <https://github.com/pavilionedu/discourse-topic-custom-fields/commit/291b10586bbbcaba11569b181274503f2ce20b02>

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485)._
