faq.rst 917 B

1234567891011121314151617181920212223242526
  1. .. _faq:
  2. FAQ - Frequently Asked Questions
  3. ================================
  4. Here we try to answer some common questions and pitfalls about FlaskBB.
  5. * Why do I get a ``AttributeError: 'NullTranslations' object has no attribute 'add'`` exception?
  6. This usually happens when you forgot to compile the translations.
  7. To compile them, just run::
  8. $ flaskbb translations compile
  9. Relevant issue: `#389 <https://github.com/sh4nks/flaskbb/issues/389>`_
  10. * Why isn't the cache (Flask-Caching) using the configured ``REDIS_URL``?
  11. You have to set the ``CACHE_REDIS_HOST`` to the ``REDIS_URL``. This is
  12. inconvenience is caused because you are not limited to redis as the caching
  13. backend. See the
  14. `Flask-Caching <https://pythonhosted.org/Flask-Caching/#configuring-flask-caching>`_
  15. documentation for a full list of caching backends.
  16. Relevant issue: `#372 <https://github.com/sh4nks/flaskbb/issues/372>`_