Commit graph

37 commits

Author SHA1 Message Date
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
f4b2cbfe79 Link country to organization 2021-11-26 12:18:13 +05:30
PCoder
05b2fa770c Handle NoneType to str 2021-11-25 13:58:57 +05:30
PCoder
03f06957f8 Range: checked field 2021-11-25 11:18:26 +05:30
PCoder
dd62f6a38c Add mother_range dependency 2021-11-25 11:05:19 +05:30
PCoder
5408046fbb Make incremental model change (mother_range to be modelled next) 2021-11-25 10:40:19 +05:30
PCoder
cf20ba24df Make range similar to access 2021-11-23 15:23:27 +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
8721b5fd65 Remove commented code 2021-11-22 13:58:07 +05:30
PCoder
090f8250ed Add missing code 2021-11-22 13:22:01 +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
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
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
b9dcab334b First working version of the import magmt command
./manage.py import --all
2021-11-10 19:50:49 +05:30
PCoder
7359d64dc1 Changes from CSV 2021-11-08 06:36:43 +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
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
e21450730d Add missing methods in models from gmba-connect 2021-07-27 10:21:02 +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