|
@@ -5,13 +5,13 @@
|
|
|
<head>
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
|
- <title>Django Models - celery.models — Celery v0.1.14 documentation</title>
|
|
|
+ <title>Django Models - celery.models — Celery v0.1.15 documentation</title>
|
|
|
<link rel="stylesheet" href="../static/default.css" type="text/css" />
|
|
|
<link rel="stylesheet" href="../static/pygments.css" type="text/css" />
|
|
|
<script type="text/javascript">
|
|
|
var DOCUMENTATION_OPTIONS = {
|
|
|
URL_ROOT: '../',
|
|
|
- VERSION: '0.1.14',
|
|
|
+ VERSION: '0.1.15',
|
|
|
COLLAPSE_MODINDEX: false,
|
|
|
FILE_SUFFIX: '.html',
|
|
|
HAS_SOURCE: true
|
|
@@ -19,7 +19,7 @@
|
|
|
</script>
|
|
|
<script type="text/javascript" src="../static/jquery.js"></script>
|
|
|
<script type="text/javascript" src="../static/doctools.js"></script>
|
|
|
- <link rel="top" title="Celery v0.1.14 documentation" href="../index.html" />
|
|
|
+ <link rel="top" title="Celery v0.1.15 documentation" href="../index.html" />
|
|
|
<link rel="next" title="Messaging - celery.messaging" href="celery.messaging.html" />
|
|
|
<link rel="prev" title="Django Model Managers - celery.managers" href="celery.managers.html" />
|
|
|
</head>
|
|
@@ -39,7 +39,7 @@
|
|
|
<li class="right" >
|
|
|
<a href="celery.managers.html" title="Django Model Managers - celery.managers"
|
|
|
accesskey="P">previous</a> |</li>
|
|
|
- <li><a href="../index.html">Celery v0.1.14 documentation</a> »</li>
|
|
|
+ <li><a href="../index.html">Celery v0.1.15 documentation</a> »</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
@@ -53,83 +53,60 @@
|
|
|
<dl class="data">
|
|
|
<dt id="TASK_STATUS_PENDING">
|
|
|
<tt class="descname">TASK_STATUS_PENDING</tt><a class="headerlink" href="#TASK_STATUS_PENDING" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The string status of a pending task.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The string status of a pending task.</dd></dl>
|
|
|
|
|
|
<dl class="data">
|
|
|
<dt id="TASK_STATUS_RETRY">
|
|
|
<tt class="descname">TASK_STATUS_RETRY</tt><a class="headerlink" href="#TASK_STATUS_RETRY" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The string status of a task which is to be retried.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The string status of a task which is to be retried.</dd></dl>
|
|
|
|
|
|
<dl class="data">
|
|
|
<dt id="TASK_STATUS_FAILURE">
|
|
|
<tt class="descname">TASK_STATUS_FAILURE</tt><a class="headerlink" href="#TASK_STATUS_FAILURE" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The string status of a failed task.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The string status of a failed task.</dd></dl>
|
|
|
|
|
|
<dl class="data">
|
|
|
<dt id="TASK_STATUS_DONE">
|
|
|
<tt class="descname">TASK_STATUS_DONE</tt><a class="headerlink" href="#TASK_STATUS_DONE" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The string status of a task that was successfully executed.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The string status of a task that was successfully executed.</dd></dl>
|
|
|
|
|
|
<dl class="data">
|
|
|
<dt id="TASK_STATUSES">
|
|
|
<tt class="descname">TASK_STATUSES</tt><a class="headerlink" href="#TASK_STATUSES" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">List of possible task statuses.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>List of possible task statuses.</dd></dl>
|
|
|
|
|
|
<dl class="data">
|
|
|
<dt id="TASK_STATUSES_CHOICES">
|
|
|
<tt class="descname">TASK_STATUSES_CHOICES</tt><a class="headerlink" href="#TASK_STATUSES_CHOICES" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">Django choice tuple of possible task statuses, for usage in model/form</tt></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">fields ``choices`` argument.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>Django choice tuple of possible task statuses, for usage in model/form
|
|
|
+fields <tt class="docutils literal"><span class="pre">choices</span></tt> argument.</dd></dl>
|
|
|
|
|
|
<dl class="class">
|
|
|
<dt id="TaskMeta">
|
|
|
<em class="property">
|
|
|
class </em><tt class="descname">TaskMeta</tt><a class="headerlink" href="#TaskMeta" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">Model for storing the result and status of a task.</tt></dt>
|
|
|
-<dd><p><em>Note</em> Only used if you’re running the <tt class="docutils literal"><span class="pre">database</span></tt> backend.</p>
|
|
|
+<dd><p>Model for storing the result and status of a task.</p>
|
|
|
+<p><em>Note</em> Only used if you’re running the <tt class="docutils literal"><span class="pre">database</span></tt> backend.</p>
|
|
|
<dl class="attribute">
|
|
|
<dt id="TaskMeta.task_id">
|
|
|
<tt class="descname">task_id</tt><a class="headerlink" href="#TaskMeta.task_id" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The unique task id.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The unique task id.</dd></dl>
|
|
|
|
|
|
<dl class="attribute">
|
|
|
<dt id="TaskMeta.status">
|
|
|
<tt class="descname">status</tt><a class="headerlink" href="#TaskMeta.status" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The current status for this task.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The current status for this task.</dd></dl>
|
|
|
|
|
|
<dl class="attribute">
|
|
|
<dt id="TaskMeta.result">
|
|
|
<tt class="descname">result</tt><a class="headerlink" href="#TaskMeta.result" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The result after successful/failed execution. If the task failed,</tt></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">this contains the execption it raised.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The result after successful/failed execution. If the task failed,
|
|
|
+this contains the execption it raised.</dd></dl>
|
|
|
|
|
|
<dl class="attribute">
|
|
|
<dt id="TaskMeta.date_done">
|
|
|
<tt class="descname">date_done</tt><a class="headerlink" href="#TaskMeta.date_done" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The date this task changed status.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The date this task changed status.</dd></dl>
|
|
|
|
|
|
</dd></dl>
|
|
|
|
|
@@ -137,46 +114,33 @@ class </em><tt class="descname">TaskMeta</tt><a class="headerlink" href="#TaskMe
|
|
|
<dt id="PeriodicTaskMeta">
|
|
|
<em class="property">
|
|
|
class </em><tt class="descname">PeriodicTaskMeta</tt><a class="headerlink" href="#PeriodicTaskMeta" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">Metadata model for periodic tasks.</tt></dt>
|
|
|
-<dd><dl class="attribute">
|
|
|
+<dd><p>Metadata model for periodic tasks.</p>
|
|
|
+<dl class="attribute">
|
|
|
<dt id="PeriodicTaskMeta.name">
|
|
|
<tt class="descname">name</tt><a class="headerlink" href="#PeriodicTaskMeta.name" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The name of this task, as registered in the task registry.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The name of this task, as registered in the task registry.</dd></dl>
|
|
|
|
|
|
<dl class="attribute">
|
|
|
<dt id="PeriodicTaskMeta.last_run_at">
|
|
|
<tt class="descname">last_run_at</tt><a class="headerlink" href="#PeriodicTaskMeta.last_run_at" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The date this periodic task was last run. Used to find out</tt></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">when it should be run next.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The date this periodic task was last run. Used to find out
|
|
|
+when it should be run next.</dd></dl>
|
|
|
|
|
|
<dl class="attribute">
|
|
|
<dt id="PeriodicTaskMeta.total_run_count">
|
|
|
<tt class="descname">total_run_count</tt><a class="headerlink" href="#PeriodicTaskMeta.total_run_count" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The number of times this periodic task has been run.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The number of times this periodic task has been run.</dd></dl>
|
|
|
|
|
|
<dl class="attribute">
|
|
|
<dt id="PeriodicTaskMeta.task">
|
|
|
<tt class="descname">task</tt><a class="headerlink" href="#PeriodicTaskMeta.task" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">The class/function for this task.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>The class/function for this task.</dd></dl>
|
|
|
|
|
|
<dl class="method">
|
|
|
<dt id="PeriodicTaskMeta.delay">
|
|
|
<tt class="descname">delay</tt><big>(</big><big>)</big><a class="headerlink" href="#PeriodicTaskMeta.delay" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">Delay the execution of a periodic task, and increment its total</tt></dt>
|
|
|
-<dt>
|
|
|
-<tt class="descname">run count.</tt></dt>
|
|
|
-<dd></dd></dl>
|
|
|
+<dd>Delay the execution of a periodic task, and increment its total
|
|
|
+run count.</dd></dl>
|
|
|
|
|
|
</dd></dl>
|
|
|
|
|
@@ -231,7 +195,7 @@ class </em><tt class="descname">PeriodicTaskMeta</tt><a class="headerlink" href=
|
|
|
<li class="right" >
|
|
|
<a href="celery.managers.html" title="Django Model Managers - celery.managers"
|
|
|
>previous</a> |</li>
|
|
|
- <li><a href="../index.html">Celery v0.1.14 documentation</a> »</li>
|
|
|
+ <li><a href="../index.html">Celery v0.1.15 documentation</a> »</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="footer">
|