Commit 38809256 authored by Rafal's avatar Rafal

Repair commands

parent 6498e5f3
...@@ -6,10 +6,7 @@ from django.core.management.base import BaseCommand, CommandError ...@@ -6,10 +6,7 @@ from django.core.management.base import BaseCommand, CommandError
class Command(BaseCommand): class Command(BaseCommand):
help = '' help = ''
def add_arguments(self, parser): def handle(self):
parser.add_argument('poll_id', nargs='+', type=int)
def handle(self, *args, **options):
call_command('init_users') call_command('init_users')
call_command('init_localizations') call_command('init_localizations')
call_command('init_tags') call_command('init_tags')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment