Commit graph

248 commits

Author SHA1 Message Date
PCoder
86536256aa Import Keyword properly with correct relation 2021-12-01 12:20:17 +05:30
app@gmba.django-hosting.ch
8020fa955e Remove foreign key dependency range <-> rangeonlineinfo 2021-11-30 09:13:55 +01:00
PCoder
1960abdbcb Add formfield_overrides 2021-11-29 22:24:33 +05:30
PCoder
c94fe44569 Add author_keywords field to ResourceAdmin 2021-11-29 22:09:04 +05:30
PCoder
400bd0ecd8 Add fields to PeopleOrganizationInline 2021-11-29 22:03:51 +05:30
PCoder
f4a224f3d7 Handle None __str__ 2021-11-29 10:41:18 +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
4315b376cb Add migration 2021-11-29 09:43:15 +05:30
PCoder
53e5ca548e Remove unique constraint from MountainRange 2021-11-29 09:42:41 +05:30
PCoder
0d3bbb3154 Set MountainRange area to -1 explicitly if not set 2021-11-29 09:36:40 +05:30
PCoder
ec40e896b3 Set default area to -1 2021-11-29 09:35:36 +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
f828ce5a6e More 2021-11-29 08:16:13 +05:30
PCoder
07f21bb350 More 2021-11-29 08:13:02 +05:30
PCoder
9bda626544 Handle mother 2021-11-29 08:10:05 +05:30
PCoder
a4401d871c Handle if keyword's mother is None 2021-11-29 07:30:51 +05:30
PCoder
7f2c9693a6 Attempt a fix for self relationship of Keyword 2021-11-29 07:28:54 +05:30
PCoder
a8e2ee2c94 Disable models that are not needed in admin currently 2021-11-28 22:31:58 +05:30
PCoder
86482d4a3d Place lat long alongside 2021-11-28 22:15:41 +05:30
PCoder
50cb8e8daa Exclude some fields from the inline Person model 2021-11-28 22:11:44 +05:30
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