Browse Source

added tasksetmeta model to only be managed with database

Brad Jasper 15 years ago
parent
commit
a2d47a67b5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      celery/models.py

+ 1 - 0
celery/models.py

@@ -92,5 +92,6 @@ if (django.VERSION[0], django.VERSION[1]) >= (1, 1):
     # keep models away from syncdb/reset if database backend is not being used.
     if conf.CELERY_BACKEND != 'database':
         TaskMeta._meta.managed = False
+        TaskSetMeta._meta.managed = False
     if conf.CELERY_PERIODIC_STATUS_BACKEND != 'database':
         PeriodicTaskMeta._meta.managed = False