models.py 937 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. """
  2. celery.models has been moved to djcelery.models.
  3. This file is deprecated and will be removed in Celery v1.4.0.
  4. """
  5. from django.core.exceptions import ImproperlyConfigured
  6. raise ImproperlyConfigured("""
  7. ======================================================
  8. ERROR: celery can't be added to INSTALLED_APPS anymore
  9. ======================================================
  10. Please install the django-celery package and add:
  11. INSTALLED_APPS = "djcelery"
  12. To install django-celery you can do one of the following:
  13. * Download from PyPI:
  14. http://pypi.python.org/pypi/django-celery
  15. * Install with pip:
  16. pip install django-celery
  17. * Install with easy_install:
  18. easy_install django-celery
  19. * Clone the development repository:
  20. http://github.com/ask/django-celery
  21. If you weren't aware of this already you should read the
  22. Celery 1.2.0 Changelog as well:
  23. http://github.com/ask/celery/tree/djangofree/Changelog
  24. """)