Commit graph

16 commits

Author SHA1 Message Date
Dana Lambert
cc3c3e7e9a Add soil variant filter 2021-10-20 12:36:48 +13:00
Dana Lambert
cb348b0f5d Fix soil variant spreadsheet import bug where all variants added 2021-10-20 12:36:06 +13:00
Dana Lambert
12ebe31cf5 Add coordinate filter on the backend
- filters plants based on ecological region and soil order
2021-10-19 16:06:21 +13:00
Dana Lambert
530089c19c Add documentation to the spreadsheet processing methods 2021-10-19 10:39:07 +13:00
Dana Lambert
299e609c25 Add django command to populate the database with spreadsheet plant data 2021-10-15 14:40:14 +13:00
Dana Lambert
aa57c6e101 Add django command to populate the database with shapefile data 2021-10-15 14:39:03 +13:00
Dana Lambert
b02d7d50de Register models with django admin 2021-10-15 14:38:14 +13:00
Dana Lambert
d47416273d Add django fixtures for base data 2021-10-15 14:34:48 +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
6dfa65ee77 Add django gis extension 2021-10-15 14:31:52 +13:00
Dana Lambert
b699e50754 Add django cors headers to backend 2021-10-07 10:17:32 +13:00
Dana Lambert
9faf762224 Create default django admin user on start up 2021-10-07 09:00:27 +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
Dana Lambert
9fc83f5974 Connect database to Django backend 2021-10-06 14:37:29 +13:00
Dana Lambert
0ea165fcff Add docker-compose file to run applications and postgres locally 2021-10-06 14:06:55 +13:00
Dana Lambert
88f3331c46 Add base Django backend project 2021-10-06 12:36:07 +13:00