@@ -0,0 +1,530 @@
+# -*- coding: utf-8 -*-%0Afrom django.core.management.base import BaseCommand%0Afrom django.utils.translation import activate%0A%0Afrom kirppu.accounting import accounting_receipt%0A%0A%0Aclass Command(BaseCommand):%0A    help = 'Dump accounting CSV to standard output'%0A%0A    def add_arguments(self, parser):%0A        parser.add_argument('--lang', type=str, help=%22Change language, for example: en%22)%0A%0A    def handle(self, *args, **options):%0A        if %22lang%22 in options:%0A            activate(options%5B%22lang%22%5D)%0A        accounting_receipt(self.stdout)%0A

Add commandline command for creating accounting data.