Commit graph

40 commits

Author SHA1 Message Date
PCoder
86536256aa Import Keyword properly with correct relation 2021-12-01 12:20:17 +05:30
PCoder
5ef97645cb Show debug messages only if debug is true 2021-11-29 10:27:27 +05:30
PCoder
fe32ab1e70 Fix Organisation model + debug 2021-11-29 10:21:26 +05:30
PCoder
0d3bbb3154 Set MountainRange area to -1 explicitly if not set 2021-11-29 09:36:40 +05:30
PCoder
20285f20c5 Print debug only if debug is True 2021-11-29 09:32:02 +05:30
PCoder
34a839422e Also pass model 2021-11-29 09:28:42 +05:30
PCoder
4982b1f936 Refactor connected_fields import 2021-11-29 09:24:17 +05:30
PCoder
d699beadbd More rename Range -> MountainRange 2021-11-29 09:19:43 +05:30
PCoder
1460664145 Print debug messages while import 2021-11-29 09:14:13 +05:30
PCoder
f1eaedbd14 Replace all Range with MountainRange in import script 2021-11-29 08:59:07 +05:30
PCoder
7fd0afb8b9 Fix boolean fields of resources table 2021-11-26 17:34:02 +05:30
PCoder
8b2508fbc5 Make url URLField 2021-11-26 16:47:09 +05:30
PCoder
ee4c340cb7 Count total and error rows 2021-11-25 13:48:32 +05:30
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