Commit graph

18 commits

Author SHA1 Message Date
Dana Lambert
29417ca4e8 Update maxheight field to be a string 2021-12-08 20:16:45 +00:00
Dana Lambert
8575b7e1ab Modify models for new zone selection method 2021-12-09 07:47:54 +13:00
Dana Lambert
36746729ec Update ChristchurchZone model name to ChristchurchRegion 2021-12-08 03:35:11 +00:00
Dana Lambert
8f63a917e0 Add Christchurch Zone model and shapefile ingestion 2021-12-08 03:35:11 +00:00
Dana Lambert
044f7c78ea Add redirect demo 2021-11-24 21:40:57 +00:00
Dana Lambert
433a72a7a8 Add ordering to plant list 2021-11-18 11:27:16 +13:00
Dana Lambert
627816a3cd Add sample habitat image and zone data
- Renames fixture scripts
2021-11-10 17:34:16 +13:00
Dana Lambert
841da813db Add filter ignore fields to zone model 2021-11-10 13:11:13 +13:00
Dana Lambert
41d61ce3c5 Add forest position data as part of the plant results 2021-11-10 10:33:34 +13:00
Dana Lambert
edd2054763 Create plant display fields on the backend 2021-11-08 15:51:05 +13:00
Dana Lambert
fe84079885 Add admin autocomplete, search fields and ordering to zone field in ZoneImageSegment 2021-11-08 11:01:13 +13:00
Dana Lambert
c79d287384 Add habitat image endpoint, view and serializer 2021-11-08 11:01:13 +13:00
Dana Lambert
b5b39a5c18 Alter the habitat image model to use a related name images 2021-11-05 11:13:59 +13:00
Dana Lambert
d48f202634 Add zones to plant model 2021-11-04 14:08:31 +13:00
Dana Lambert
745b0b3007 Add Habitat, Zone, HabitatImage and ZoneImageSegment models 2021-11-04 11:18:04 +13:00
Dana Lambert
8855bcb2ba Update commonname field to have a max_length of 200 2021-11-02 09:20:47 +13:00
Dana Lambert
e068ed047b Add relational models for plants and related fields (excludes habitat and zone) 2021-10-15 14:33:13 +13:00
Dana Lambert
bb307d34d2 Add django rest framework and basic plant model
- Adds django rest framework to requirements
- Adds basic plant model with id and name fields
- Adds CRUD endpoints to interact with plant objects
2021-10-07 08:59:57 +13:00