src/hdalab/management/commands/import_insee_csv.py
changeset 281 bc0f26b1acc2
parent 272 1c774f7a0341
child 693 09e00f38d177
equal deleted inserted replaced
280:56d84b0c267f 281:bc0f26b1acc2
     1 # -*- coding: utf-8 -*-
     1 # -*- coding: utf-8 -*-
     2 '''
     2 '''
     3 @author: raphv
     3 @author: raphv
     4 '''
     4 '''
     5 from django.core.management.base import BaseCommand, CommandError
     5 from django.core.management.base import BaseCommand, CommandError
     6 import django.utils.simplejson as json
       
     7 from SPARQLWrapper import SPARQLWrapper, JSON
     6 from SPARQLWrapper import SPARQLWrapper, JSON
     8 from hdalab.models import InseeCoords
     7 from hdalab.models import InseeCoords
       
     8 import json
     9 import csv
     9 import csv
    10 import re
    10 import re
    11 import sys
    11 import sys
    12 
    12 
    13 class Command(BaseCommand):
    13 class Command(BaseCommand):