Commit graph

111 commits

Author SHA1 Message Date
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