change file name
This commit is contained in:
@@ -56,9 +56,9 @@ class Command(BaseCommand):
|
|||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
path = options['path']
|
path = options['path']
|
||||||
|
|
||||||
regions_file = os.path.join(path, 'regions.json')
|
regions_file = os.path.join(path, 'region.json')
|
||||||
districts_file = os.path.join(path, 'districts.json')
|
districts_file = os.path.join(path, 'district.json')
|
||||||
villages_file = os.path.join(path, 'villages.json')
|
villages_file = os.path.join(path, 'village.json')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
|
|||||||
Reference in New Issue
Block a user