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
PCoder
10de2b5df6
Add RefreshPageView class
2021-07-28 17:15:53 +05:30
PCoder
4c2f2cd50e
Add various imports
2021-07-28 17:15:17 +05:30
PCoder
7eb5654d11
Use admin/config.html for the Configuration page
2021-07-28 17:14:40 +05:30
PCoder
0c285ca072
Update add_linked: add relationship fields manually
2021-07-28 17:02:58 +05:30
PCoder
837592039c
Complete ConfigurationPage porting
2021-07-28 12:43:08 +05:30
PCoder
03812ecf93
Register models with django-admin
2021-07-28 09:50:54 +05:30
PCoder
b266da63b2
Refactor path -> filename
2021-07-28 09:49:30 +05:30
PCoder
13b2995c34
Implement ReindexPageView
2021-07-28 09:49:13 +05:30
PCoder
7fd62dd68b
Use __str__ instead of __repr__
...
Django uses this to get the string representation of an object
2021-07-28 09:42:36 +05:30
PCoder
b51520df63
Add missing load static
2021-07-28 03:26:58 +05:30
PCoder
f7d41d95f2
Move demo template to the correct location
2021-07-28 03:25:27 +05:30
PCoder
a0d5c7ae78
Add demo
2021-07-28 03:23:02 +05:30
PCoder
386ea46310
Handle geodata and offline requests
2021-07-27 13:43:27 +05:30
PCoder
984eaa68f6
Add static resources
2021-07-27 12:48:59 +05:30
PCoder
8ea61dfc55
Create a simple class-based view for the HomePage
2021-07-27 12:47:39 +05:30
PCoder
54267c874f
Add app/index.html from gmba-connect
...
Also update the static resource path using static tag
2021-07-27 12:45:12 +05:30
PCoder
ac0014cfdb
Move formats.py to app
2021-07-27 12:44:16 +05:30
PCoder
e21450730d
Add missing methods in models from gmba-connect
2021-07-27 10:21:02 +05:30
PCoder
d7d3ef4c46
Make migrations from the generated models.py
2021-07-27 09:50:57 +05:30
PCoder
7726bc7c41
Change all CharField to TextField
...
I do not know how long these fields would be + there is not much
of a performance difference from postgres point of view which is
our preferred database
2021-07-27 09:48:34 +05:30
PCoder
223b2650ad
Introduce primary keys and remove managed = False from models
...
(Assuming we want to manage these tables using django in future)
2021-07-27 09:38:44 +05:30
PCoder
a6f2fe912d
Create app and obtain models from inspectdb
2021-07-27 09:30:24 +05:30