Exemple #1
0
#!/usr/bin/env python
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'film20.settings'

from film20.core.management.base import BaseCommand
from film20.recommendations.bot_helper import do_update_films_popularity
 
do_update_films_popularity()
Exemple #2
0
#!/usr/bin/env python
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'film20.settings'

from film20.core.management.base import BaseCommand
from film20.recommendations.bot_helper import do_update_films_popularity

do_update_films_popularity()
Exemple #3
0
 def handle(self, *args, **kw):
     from film20.recommendations.bot_helper import do_update_films_popularity
     do_update_films_popularity()