# `django_celery_results.models`

Database models.

class `django_celery_results.models.``ChordCounter`(*args, **kwargs)

  Chord synchronisation.

  exception `DoesNotExist`
  exception `MultipleObjectsReturned`
  `count`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `group_id`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `group_result`(app=None)

    Return the GroupResult of self.

    > app (Celery): app instance to create the GroupResult with.

  `id`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `objects` = <django.db.models.manager.Manager object>
  `sub_tasks`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class `django_celery_results.models.``TaskResult`(*args, **kwargs)

  Task result/status.

  exception `DoesNotExist`
  exception `MultipleObjectsReturned`
  `as_dict`()
  `content_encoding`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `content_type`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `date_created`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `date_done`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `get_next_by_date_created`(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=True, **kwargs)
  `get_next_by_date_done`(*, field=<django.db.models.fields.DateTimeField: date_done>, is_next=True, **kwargs)
  `get_previous_by_date_created`(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=False, **kwargs)
  `get_previous_by_date_done`(*, field=<django.db.models.fields.DateTimeField: date_done>, is_next=False, **kwargs)
  `get_status_display`(*, field=<django.db.models.fields.CharField: status>)
  `id`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `meta`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `objects` = <django_celery_results.managers.TaskResultManager object>
  `result`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `status`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `task_args`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `task_id`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `task_kwargs`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `task_name`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `traceback`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

  `worker`

    A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.