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