Compare commits
2 Commits
ae9f10aa4d
...
91bbb6b6e5
| Author | SHA1 | Date | |
|---|---|---|---|
| 91bbb6b6e5 | |||
|
|
01a70debaf |
@@ -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