Merge pull request 'change file name' (#67) from behruz into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 1m56s
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 1m56s
Reviewed-on: #67
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