fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Housekeeping: reorganize format fields, simplify the building tasks.
[wolnelektury.git]
/
src
/
club
/
civicrm.py
diff --git
a/src/club/civicrm.py
b/src/club/civicrm.py
index
ac3de70
..
b770fbd
100644
(file)
--- a/
src/club/civicrm.py
+++ b/
src/club/civicrm.py
@@
-1,6
+1,6
@@
from datetime import datetime
import json
from datetime import datetime
import json
-from celery
.task import
task
+from celery
import shared_
task
from django.conf import settings
import requests
import yaml
from django.conf import settings
import requests
import yaml
@@
-171,7
+171,7
@@
civicrm = CiviCRM(
settings.CIVICRM_KEY,
)
settings.CIVICRM_KEY,
)
-@task(ignore_result=True)
+@
shared_
task(ignore_result=True)
def report_activity(*args, **kwargs):
civicrm.report_activity(*args, **kwargs)
def report_activity(*args, **kwargs):
civicrm.report_activity(*args, **kwargs)