settings.rst 875 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. .. attribute:: key
  14. **TODO**
  15. .. attribute:: value
  16. **TODO**
  17. .. attribute:: settingsgroup
  18. **TODO**
  19. .. attribute:: name
  20. **TODO**
  21. .. attribute:: description
  22. **TODO**
  23. .. attribute:: value_type
  24. **TODO**
  25. string
  26. integer
  27. float
  28. boolean
  29. select # 1 value
  30. selectmultiple # multiple values
  31. .. attribute:: extra
  32. **TODO**
  33. min
  34. max
  35. choices with or without coerce