settings.rst 889 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .. _settings:
  2. Settings
  3. ========
  4. This part covers which setting fields are available.
  5. This is especially useful if you plan on develop a plugin a want to contribute
  6. to FlaskBB.
  7. The available fields are shown below.
  8. .. note::
  9. For a full list of available methods, visit
  10. `Settings Model <models.html#flaskbb.management.models.Setting>`__.
  11. .. module:: flaskbb.management.models
  12. .. autoclass:: Setting
  13. :noindex:
  14. .. attribute:: key
  15. **TODO**
  16. .. attribute:: value
  17. **TODO**
  18. .. attribute:: settingsgroup
  19. **TODO**
  20. .. attribute:: name
  21. **TODO**
  22. .. attribute:: description
  23. **TODO**
  24. .. attribute:: value_type
  25. **TODO**
  26. string
  27. integer
  28. float
  29. boolean
  30. select # 1 value
  31. selectmultiple # multiple values
  32. .. attribute:: extra
  33. **TODO**
  34. min
  35. max
  36. choices with or without coerce