Commit graph

27 commits

Author SHA1 Message Date
PCoder
b0923faf88 MotherRange debug + handle ValueError 2021-11-25 13:45:01 +05:30
PCoder
83ab27c2d3 MotherRange import 2021-11-25 13:40:19 +05:30
PCoder
adfdbc0a86 Add checked field 2021-11-25 11:25:16 +05:30
PCoder
345c276a62 Comment out erroneous code 2021-11-25 11:23:42 +05:30
PCoder
4e9980d5f5 Insert a default mother range initially, which will be reimported in the second pass 2021-11-25 11:22:29 +05:30
PCoder
0bf66de72f Strip quotes in Mother range 2021-11-25 11:11:56 +05:30
PCoder
3e73ae9d34 More debug 2021-11-25 10:52:46 +05:30
PCoder
c75b17a38e Print object_dict only if not None 2021-11-25 10:49:56 +05:30
PCoder
e37a77fe07 Handle range not found 2021-11-25 10:47:57 +05:30
PCoder
dc501018eb Handle MotherRange for import of Range 2021-11-23 16:45:18 +05:30
PCoder
0c80526c84 Handle RangeNameLanguage for import of Range 2021-11-23 16:42:51 +05:30
PCoder
fb3a7c9908 Handle Person import 2021-11-22 20:11:57 +05:30
PCoder
47ba92a8d1 Hack to handle empty status 2021-11-22 19:58:48 +05:30
PCoder
ab551cfb6c Hack to handle empty country_lookup 2021-11-22 19:57:59 +05:30
PCoder
8cef9e4bef Fix accessing wrong key 2021-11-22 19:56:09 +05:30
PCoder
18eb13591a Handle country_lookup 2021-11-22 19:54:46 +05:30
PCoder
926b650556 Add missing key 2021-11-22 19:51:39 +05:30
PCoder
0f3497ce28 Set status to PeopleStatus instance 2021-11-22 19:48:36 +05:30
PCoder
a35e6153a8 Handle single model import similarly to all 2021-11-22 19:41:34 +05:30
PCoder
e9d545fdd1 Handle object dict both in all and single model case 2021-11-22 19:28:17 +05:30
PCoder
20b1ac2e7d Handle BooleanFields in Person 2021-11-22 19:21:03 +05:30
PCoder
68de8f8835 Fix instance 2021-11-22 16:22:34 +05:30
PCoder
d41c0ccdce Add fix_people_resource_role 2021-11-22 16:20:09 +05:30
PCoder
7cadd647b8 Peron country 2021-11-19 10:51:01 +05:30
PCoder
30b8e6c397 Fix issues 2021-11-10 22:42:40 +05:30
PCoder
b9dcab334b First working version of the import magmt command
./manage.py import --all
2021-11-10 19:50:49 +05:30
PCoder
ec5f4111ac Add basic csv importer
To test: ./manage.py import --path /home/pcoder/Downloads/gmbadb/csvs/v2-LU_RedListCategories.csv --model_name RedListCategory --app_name app
2021-11-08 06:37:52 +05:30