Commit graph

180 commits

Author SHA1 Message Date
PCoder
60d43427b2 Resource: Fix list_display 2021-11-26 18:03:30 +05:30
PCoder
00b14b3cf0 Add missing comma 2021-11-26 18:02:01 +05:30
PCoder
12112fb954 Add fieldsets for Resource 2021-11-26 17:49:49 +05:30
PCoder
7fd0afb8b9 Fix boolean fields of resources table 2021-11-26 17:34:02 +05:30
PCoder
c28d46f9a1 Add type choices 2021-11-26 17:26:50 +05:30
PCoder
7953a80ddc Fix org_url 2021-11-26 17:09:02 +05:30
PCoder
f69aad203e Use format_html instead of plain text 2021-11-26 17:07:03 +05:30
PCoder
034509d523 Introduce clickable resource_url 2021-11-26 17:03:44 +05:30
PCoder
6ff3d84c3b Show a clickable url alongside the url field 2021-11-26 16:56:36 +05:30
PCoder
8b2508fbc5 Make url URLField 2021-11-26 16:47:09 +05:30
PCoder
b8a564d5f3 Make resource stars choices 2021-11-26 13:43:42 +05:30
PCoder
993990a7cb Attempt to link Range and RangeType models 2021-11-26 13:00:23 +05:30
PCoder
bd7860490a Fix country name 2021-11-26 12:29:59 +05:30
PCoder
0c67407b21 Add list_display to OrganizationAdmin 2021-11-26 12:26:51 +05:30
PCoder
f4b2cbfe79 Link country to organization 2021-11-26 12:18:13 +05:30
PCoder
d8eeb21b04 Wrong field_name 2021-11-26 12:14:49 +05:30
PCoder
e748694649 Fix more typos 2021-11-26 12:12:12 +05:30
PCoder
3823228c95 Fix typo 2021-11-26 12:11:15 +05:30
PCoder
0e280fb0ef OrganizationAdmin: Relate id with org_num1 2021-11-26 12:09:48 +05:30
PCoder
637eee03d4 Remove duplicated fields in OrganizationAdmin 2021-11-26 12:08:07 +05:30
PCoder
b78abafe30 Rearrange fields in OrganizationAdmin 2021-11-26 12:02:08 +05:30
PCoder
4a423f3949 Attempt correct field names in columns 2021-11-25 14:07:45 +05:30
PCoder
b538f138a0 Add id readonly field for Range 2021-11-25 14:02:19 +05:30
PCoder
05b2fa770c Handle NoneType to str 2021-11-25 13:58:57 +05:30
PCoder
827834dc0e Fix field names in RangeAdmin 2021-11-25 13:55:53 +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
03f06957f8 Range: checked field 2021-11-25 11:18:26 +05:30
PCoder
0bf66de72f Strip quotes in Mother range 2021-11-25 11:11:56 +05:30
PCoder
dd62f6a38c Add mother_range dependency 2021-11-25 11:05:19 +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
5408046fbb Make incremental model change (mother_range to be modelled next) 2021-11-25 10:40:19 +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
322ad9ad8f Fix issues 2021-11-23 15:47:12 +05:30
PCoder
cf20ba24df Make range similar to access 2021-11-23 15:23:27 +05:30
PCoder
2e6e4a6842 RangeAdmin: Update search fields 2021-11-23 05:43:43 +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
026692b9b2 Fix search_field 2021-11-22 17:12:30 +05:30
PCoder
c14cdb06ed More fixes list_display 2021-11-22 16:32:59 +05:30
PCoder
2f20672d40 Fix search_fields 2021-11-22 16:29:33 +05:30
PCoder
65e1ce8b3d Add list_display and search_fields to PeopleResourceAdmin 2021-11-22 16:27:20 +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
0832517b92 Revert back editable for entry_date 2021-11-22 15:49:10 +05:30
PCoder
17131dc91c Add str repr for role and register role in admin 2021-11-22 15:46:20 +05:30
PCoder
7461bea49c Add role field 2021-11-22 15:39:33 +05:30
PCoder
661ffe8a3b More arrangements 2021-11-22 14:10:59 +05:30
PCoder
834ac1ed7b More arrangements 2021-11-22 14:07:28 +05:30
PCoder
ae2927017c Fix more spelling 2021-11-22 14:01:09 +05:30
PCoder
d8274f362d Fix spelling 2021-11-22 13:59:24 +05:30
PCoder
8721b5fd65 Remove commented code 2021-11-22 13:58:07 +05:30
PCoder
1c417301bf Add fieldsets for Persons model 2021-11-22 13:57:56 +05:30
PCoder
090f8250ed Add missing code 2021-11-22 13:22:01 +05:30
PCoder
14b7d99e9a Make status a dependent field in Person model 2021-11-22 13:13:51 +05:30
PCoder
417bb68ffa Add migration 2021-11-22 13:01:15 +05:30
PCoder
f97b805f76 Rename foreign key from country_lookup to country 2021-11-22 12:59:07 +05:30
PCoder
b6a45c9677 Make country_lookup the Country field 2021-11-22 12:46:18 +05:30
PCoder
b21a465e47 Remove country field from Person 2021-11-22 12:44:13 +05:30
PCoder
d42505741e Use correct search_field for person 2021-11-22 12:14:25 +05:30
PCoder
7cadd647b8 Peron country 2021-11-19 10:51:01 +05:30
PCoder
c776a9abfb Change remaining boolean fields 2021-11-19 09:27:57 +05:30
PCoder
c5539192bf Make boolean fields for People model 2021-11-19 07:32:47 +05:30
PCoder
2e9ebadf29 Fix TaxonRange 2021-11-11 23:36:40 +05:30
PCoder
688adfac42 Fix SpeciesRange admin listing 2021-11-11 23:27:43 +05:30
PCoder
1f52df987e Fix Search str 2021-11-11 23:15:04 +05:30
PCoder
76f714a257 Fix RangeNameTranslationAdmin 2021-11-11 22:59:02 +05:30
PCoder
6f9ca6961c Fix for __str__ returned non-string error 2021-11-11 00:22:29 +05:30
PCoder
aa65b9c9cd Add str repr 2021-11-10 22:43:10 +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
PCoder
44fb9c3f20 Add migrations 2021-11-08 06:37:11 +05:30
PCoder
7359d64dc1 Changes from CSV 2021-11-08 06:36:43 +05:30
PCoder
a7c958b8db Add migration file 2021-11-01 09:44:12 +05:30
PCoder
b65ed606e7 Fix some constraint issues 2021-11-01 09:43:51 +05:30
PCoder
1329255b9b Add all remaining models to admin 2021-11-01 09:36:49 +05:30
PCoder
41667dbea3 Migration in progress 2021-10-30 09:53:49 +05:30
PCoder
cfea61b5af Add LU models and model admin 2021-10-29 08:03:55 +05:30
PCoder
5eea4c546e Str repr for Scale 2021-10-11 08:33:49 +05:30
PCoder
b2ed245dcf Make Resource, Range and Field fields searchable 2021-10-11 08:23:22 +05:30
PCoder
7bfb067623 Add admin search fields 2021-09-23 19:13:35 +05:30
PCoder
60cbf42997 Get fields correctly 2021-09-02 07:26:13 +05:30
PCoder
77fa49ac2b Get values correctly 2021-09-02 07:17:08 +05:30
PCoder
2e7e25a529 Put research parameters into correct fields 2021-08-31 22:59:41 +05:30