Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- from django.core.management.base import BaseCommand
- from my_app import dataimport
- class Command(BaseCommand):
- def handle(self, language='en', filepath, **options):
- dataimport.json(language, filepath)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement