1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from __future__ import print_function, unicode_literals
7 from django.conf import settings
8 from django.core.management.base import BaseCommand
10 from catalogue.helpers import update_counters
11 from wolnelektury.utils import makedirs
14 class Command(BaseCommand):
15 help = 'Update counters.'
17 def handle(self, **options):
18 makedirs(settings.VAR_DIR)