Commit graph

10 commits

Author SHA1 Message Date
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
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
88f3331c46 Add base Django backend project 2021-10-06 12:36:07 +13:00