django.rst 866 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .. _broker-django:
  2. ===========================
  3. Using the Django Database
  4. ===========================
  5. .. _broker-django-installation:
  6. Installation
  7. ============
  8. .. _broker-django-configuration:
  9. Configuration
  10. =============
  11. The database transport uses the Django `DATABASE_*` settings for database
  12. configuration values.
  13. #. Set your broker transport::
  14. BROKER_URL = "django://"
  15. #. Add :mod:`djcelery.transport` to `INSTALLED_APPS`::
  16. INSTALLED_APPS = ("djcelery.transport", )
  17. #. Sync your database schema::
  18. $ python manage.py syncdb
  19. .. _broker-django-limitations:
  20. Limitations
  21. ===========
  22. The Django database transport does not currently support:
  23. * Remote control commands (celeryev, broadcast)
  24. * Events, including the Django Admin monitor.
  25. * Using more than a few workers (can lead to messages being executed
  26. multiple times).