# Как добавить пользовательские поля к моделям

**URL:** https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485
**Category:** Extras
**Tags:** pavilion
**Created:** [26.Март.2021 07:53:44 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:** 27

<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: [30.Август.2022 11:56:21 UTC](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485/27 "2022-08-30T11:56:21Z")

</div>

Да, это может быть непросто и [немного ошеломляюще при начале работы с кодовой базой Discourse](https://meta.discourse.org/t/how-to-start-building-stuff-for-discourse-if-youre-newbie-like-myself/45954). Похоже, вы пытаетесь работать с GeoJSON. Рассматривали ли вы возможность использования или расширения плагина Locations? Он уже настроен для работы с GeoJSON в Discourse.

> [@Locations Plugin earth\_africa](https://meta.discourse.org/t/locations-plugin/69742):
>
> information_sourceSummary Allows you to associate geocoded locations with Topics and show them on a beautiful map. Also allows your users to record their location and collectively display them on a central users map on your site.hammer_and_wrenchRepository Link [GitHub - merefield/discourse-locations: Tools for handling locations in Discourse · GitHub](https://github.com/merefield/discourse-locations)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)heartSponsorship Please consider becoming an ongoing [spons…](https://github.com/sponsors/merefield)

### Курс по разработке плагинов?

Я задумывался о проведении бесплатного курса по разработке плагинов для Discourse, что, по сути, и нужно вам. Я уже подготовил материалы для курса по разработке тем (см. ниже). Если за курс по разработке плагинов проголосуют 30 человек, я проведу его (через Zoom).

_Poll ([view on site](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485/27))_

> **Введение в разработку тем**
>
> 1. [GitHub - pavilionedu/discourse-theme-introduction · GitHub](https://github.com/pavilionedu/discourse-theme-introduction)
> 2. [GitHub - pavilionedu/discourse-theme-css · GitHub](https://github.com/pavilionedu/discourse-theme-css)
> 3. [GitHub - pavilionedu/discourse-theme-colors · GitHub](https://github.com/pavilionedu/discourse-theme-colors)
> 4. [GitHub - pavilionedu/discourse-theme-html-one · GitHub](https://github.com/pavilionedu/discourse-theme-html-one)
> 5. [GitHub - pavilionedu/discourse-theme-html-two · GitHub](https://github.com/pavilionedu/discourse-theme-html-two)
> 6. [GitHub - pavilionedu/discourse-theme-javascript-one · GitHub](https://github.com/pavilionedu/discourse-theme-javascript-one)
> 7. [GitHub - pavilionedu/discourse-theme-javascript-two · GitHub](https://github.com/pavilionedu/discourse-theme-javascript-two)

\*P.S. Если наберётся 30 голосов, пожалуйста, дайте мне знать.

---

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