Commit graph

272 commits

Author SHA1 Message Date
PCoder
fb34d4d7ca Add better labels 2021-11-28 22:07:17 +05:30
PCoder
8a082d2611 Change org_num1 label 2021-11-28 22:03:34 +05:30
PCoder
e238c5fed3 Organisation: Make things as described in #9945 2021-11-28 20:29:44 +05:30
PCoder
e71c225177 Add migration 2021-11-28 19:51:08 +05:30
PCoder
28730542dc Rename Organization to Organisation
Note: the internal fields/variables are still organization !
2021-11-28 19:49:56 +05:30
PCoder
c28717f455 Resource: Make fields as per #9944 2021-11-28 19:18:19 +05:30
PCoder
b4b6f8b3af Use correct PeopleResource model 2021-11-28 18:58:03 +05:30
PCoder
a6c7c9e2e7 Resource: Show inline dependent data 2021-11-28 18:50:51 +05:30
PCoder
c9736483f2 Revert back 2021-11-28 17:11:32 +05:30
4b3f80daef Make area textfield to fix error and revert decimalfield for lat/long 2021-11-28 09:25:49 +01:00
PCoder
2d45329885 Make lat/long char field 2021-11-28 13:42:03 +05:30
PCoder
cefdafdefe Add migration 2021-11-28 13:28:47 +05:30
PCoder
e7bc8b8952 Allow empty for lat/long 2021-11-28 13:28:04 +05:30
PCoder
782f27f53d Range: Add default value for lat/long 2021-11-28 13:22:08 +05:30
PCoder
8f3c9a91e7 Range: Make fields datatype similar to Access #9943 2021-11-28 13:06:35 +05:30
PCoder
194978b3e2 Make MapUnit a dropdown 2021-11-28 12:28:23 +05:30
PCoder
ee634a2a65 Rename Range -> MountainRange 2021-11-28 12:21:08 +05:30
PCoder
90eea50a33 Enable gmba_function 2021-11-28 11:59:47 +05:30
PCoder
534033e2df Make GMBA functions a drop down 2021-11-28 11:58:57 +05:30
PCoder
e26c0108a0 Add PeopleRangeInline 2021-11-28 11:56:16 +05:30
PCoder
208157f8c1 Simplify role 2021-11-28 11:21:58 +05:30
PCoder
bab37a767e Person: Introduce PeopleResourceInline 2021-11-28 11:10:19 +05:30
PCoder
65569f0b44 Person: show id in a separate row 2021-11-28 10:53:39 +05:30
PCoder
346a739828 Make search_name Char 2021-11-28 10:50:51 +05:30
PCoder
edf89706e7 Person: Show id 2021-11-28 10:50:08 +05:30
PCoder
1a8dd58e3f Persons: More fields changed to Charfield instead of TextField 2021-11-28 10:44:48 +05:30
PCoder
f4a2fb5d96 Add migration 2021-11-28 10:36:03 +05:30
PCoder
705671c887 Make title / first_name / last_name / full_name Charfields 2021-11-28 10:35:38 +05:30
PCoder
22dc5f8b44 Don't show gmba_function 2021-11-28 10:35:09 +05:30
PCoder
0ad897085e #9942: Make datatype changes Person model 2021-11-28 10:22:30 +05:30
PCoder
e796a13584 #9942: Make datatype changes Person model 2021-11-28 10:21:03 +05:30
PCoder
ed868f646d Person: introduce list_editable 2021-11-26 20:01:43 +05:30
PCoder
edda9afdce Organization: Add category choices (make category dropdown field) 2021-11-26 19:35:59 +05:30
PCoder
c8ba67f079 Add list_display to Person 2021-11-26 19:21:33 +05:30
PCoder
23b48bcba0 Fix typo: countries instead of country 2021-11-26 19:18:09 +05:30
PCoder
ddbd676f67 Add list_display for RangeAdmin 2021-11-26 19:14:10 +05:30
PCoder
3030e84fea Fix search fields for range 2021-11-26 19:12:58 +05:30
PCoder
ca7798a9d2 Remove resource_url 2021-11-26 18:47:20 +05:30
PCoder
9d9454f489 Fix boolean fields in a single line 2021-11-26 18:33:24 +05:30
PCoder
6fcbdc7184 Resource : Fix boolean field 2021-11-26 18:26:59 +05:30
PCoder
8a3dfa9182 Resource: Add boolean fields 2021-11-26 18:12:58 +05:30
PCoder
0d8931be26 Resource : add more fields that are visible below 2021-11-26 18:11:14 +05:30
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
PCoder
1b62922706 Implement remainder of the api functionality 2021-08-31 21:55:15 +05:30
PCoder
1bbed5eecc Implement PeopleDetailView 2021-08-31 20:40:24 +05:30
PCoder
0a24aa01e1 Implement api/search 2021-08-31 20:22:41 +05:30
PCoder
7edb14823e Add ConfigurationHomePageView 2021-07-28 19:16:57 +05:30
PCoder
083e56a4de Add admin/index.html template 2021-07-28 19:16:33 +05:30
PCoder
a2c9f728ab Refactor base.html out of config.html 2021-07-28 19:16:05 +05:30
PCoder
f7becb5c1b Remove template name for ReindexPageView (not used) 2021-07-28 17:17:46 +05:30
PCoder
3663e41cd3 Add Uploadview and get_progress 2021-07-28 17:17:11 +05:30