Commit 2e6deef0 authored by Rafal's avatar Rafal

Add smaller init to main

parent 02a4d031
......@@ -4,11 +4,13 @@ __author__ = 'Rafal'
from django.core.management.base import BaseCommand, CommandError
class Command(BaseCommand):
help = 'Closes the specified poll for voting'
def add_arguments(self, parser):
parser.add_argument('poll_id', nargs='+', type=int)
help = ''
def handle(self, *args, **options):
call_command('init_users')
call_command('init_localizations')
\ No newline at end of file
call_command('init_localizations')
call_command('init_tags')
call_command('init_apis')
call_command('init_textmessages')
call_command('init_discussions')
call_command('init_events')
\ No newline at end of file
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