<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Senza provarlo é difficile aiutarti, </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Ma non trovi le informazioni che ti servono dentro <span style="color:rgb(111,66,193);font-family:SFMono-Regular,Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;white-space:pre">TaskResult.meta</span>?</div> <div id="bloop_sign_1507275577291277824" class="bloop_sign"></div> Altrimenti una bella fatti una bella monkey_patch<div>Ciao<br><p class="airmail_on">On 6 October 2017 at 00:05:46, Karim Gorjux (<a href="mailto:lemieliste@gmail.com">lemieliste@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap:break-word"><div></div><div>
<title></title>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<br>
<div id="bloop_sign_1507241114517550080" class="bloop_sign"></div>
<br>
<p class="airmail_on">On 5 October 2017 at 21:55:12, Marco
Santamaria (<a href="mailto:marco.santamaria@gmail.com">marco.santamaria@gmail.com</a>)
wrote:</p>
<div>
<blockquote type="cite" class="clean_bq" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>
<div class="gmail_extra" style="color:rgb(0,0,0);font-family:helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div class="gmail_quote">
<div><span>Come scritto da Paolo prima si usava django-celery per
avere i risultati su database e nell'admin, ora è meglio
usare<span class="Apple-converted-space"> </span><a href="http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html#django-celery-results-using-the-django-orm-cache-as-a-result-backend">django-celery-results</a><span class="Apple-converted-space"> </span>e
usare i settings:<code><br></code></span>
<pre class="gmail-code gmail-highlight"><code><span id="gmail-LC307" class="gmail-line"><span class="gmail-n">INSTALLED_APPS</span> <span class="gmail-o">=</span> <span class="gmail-p">(</span></span>
<span id="gmail-LC308" class="gmail-line"> <span class="gmail-s">...</span></span><span id="gmail-LC326" class="gmail-line"></span>
<span id="gmail-LC327" class="gmail-line"> <span class="gmail-s">'django_celery_results'</span><span class="gmail-p">,</span></span>
<span id="gmail-LC328" class="gmail-line"> <span class="gmail-s">...</span></span>
<span id="gmail-LC329" class="gmail-line"><span class="gmail-p">)</span></span></code></pre>
<pre class="gmail-code gmail-highlight"><code><span id="gmail-LC948" class="gmail-line"><span class="gmail-n">CELERY_RESULT_BACKEND</span> <span class="gmail-o">=</span> <span class="gmail-s">'django-db'<br></span></span></code><code><span id="gmail-LC329" class="gmail-line"></span></code></pre></div>
</div>
<br clear="all"></div>
<div class="gmail_extra" style="color:rgb(0,0,0);font-family:helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Nei progetti più nuovi ho usato questa configurazione senza
problemi.</div>
</div>
</blockquote>
</div>
<p><br></p>
<p>Grazie. L’ho provata, ma peccato che non salvi i nomi dei tasks,
ma solo l’id</p>
<p><br></p>
<p>—</p>
<p>Karim</p>
_______________________________________________<br>Python mailing list<br><a href="mailto:Python@lists.python.it">Python@lists.python.it</a><br><a href="https://lists.python.it/mailman/listinfo/python">https://lists.python.it/mailman/listinfo/python</a><br></div></div></span></blockquote></div></body></html>