Commit graph

50 commits

Author SHA1 Message Date
PCoder
202b6c0092 Some pending fixes 2022-03-17 14:03:35 +05:30
PCoder
1c78f6d8e3 Make GMBA narrow boolean field 2022-01-13 10:07:06 +05:30
PCoder
55ec614dd6 Load boolean data from select_300 field while import 2022-01-13 09:46:04 +05:30
PCoder
8d6c76d072 Rearrange if clause 2021-12-01 13:37:54 +05:30
PCoder
b3ac3f9836 Strip and check with empty 2021-12-01 13:27:43 +05:30
PCoder
9871e4ff17 Pass debug as param 2021-12-01 13:18:59 +05:30
PCoder
40918e0a70 Remove commented code 2021-12-01 13:10:27 +05:30
PCoder
8ed02ce51e Fix keyword field name 2021-12-01 13:02:39 +05:30
PCoder
9bc417031d Disable keyword setting 2021-12-01 12:59:33 +05:30
PCoder
11e72af6c9 Fix keyword mother import 2021-12-01 12:44:41 +05:30
PCoder
6770a5a200 Accomodate mother field in import also 2021-12-01 12:39:10 +05:30
PCoder
0a3ea6a455 Fix correct field name 2021-12-01 12:23:57 +05:30
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
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