mark submissions with opened links
[edumed.git] / catalogue / management / commands / repackage.py
1 # -*- coding: utf-8 -*-
2 # This file is part of EduMed, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.core.management.base import BaseCommand
6
7
8 class Command(BaseCommand):
9     help = 'Rebuilds downloadable packages.'
10
11     def handle(self, **options):
12         from curriculum.models import Level
13
14         for level in Level.objects.all():
15             level.build_packages()