correction erreur nom fonction
This commit is contained in:
parent
7faef3923f
commit
3ebc53995b
@ -131,7 +131,7 @@ def run_recurrent_import(self, pk):
|
||||
@app.task(bind=True)
|
||||
def daily_imports(self):
|
||||
from agenda_culturel.models import RecurrentImport
|
||||
logger.messages("Imports quotidiens")
|
||||
logger.info("Imports quotidiens")
|
||||
imports = RecurrentImport.objects.filter(recurrence=RecurrentImport.RECURRENCE.DAILY)
|
||||
|
||||
for imp in imports:
|
||||
@ -141,7 +141,7 @@ def daily_imports(self):
|
||||
@app.task(bind=True)
|
||||
def weekly_imports(self):
|
||||
from agenda_culturel.models import RecurrentImport
|
||||
logger.messages("Imports hebdomadaires")
|
||||
logger.info("Imports hebdomadaires")
|
||||
imports = RecurrentImport.objects.filter(recurrence=RecurrentImport.RECURRENCE.WEEKLY)
|
||||
|
||||
for imp in imports:
|
||||
|
Loading…
Reference in New Issue
Block a user