Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Division, District, Subdistrict and Union of Bangladesh in JSON and CSV file for one of my Django Project

Notifications You must be signed in to change notification settings

mhihasan/Administrative-Geography-of-Bangladesh-in-JSON-and-CSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Administrative-Geography-of-Bangladesh All divisions, districts, subdistricts and unions are included in the csv and json format. I have also inclued Django Models for division, district, subdistrict and union.

Initially the .csv file is loaded to database using proper formatting. Then, these data are dumped to json format using following command,

    python manage.py dumpdata --format=json appname.Model > /path/to/store/filename.json

When any change is occured to fixture files,

    python manage.py loaddata /path/to/fixtures/filename.json 

command will update database with updateddata.

About

Division, District, Subdistrict and Union of Bangladesh in JSON and CSV file for one of my Django Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages