Add command for running lastfm imports
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
from django.core.management.base import BaseCommand, no_translations
|
||||
from vrobbler.apps.scrobbles.utils import import_lastfm_for_all_users
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
import_lastfm_for_all_users()
|
||||
Reference in New Issue
Block a user