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