mcab / hiber

API for Bat House SDP
GNU General Public License v3.0
0 stars 1 forks source link

Create models to store/retrieve data #3

Closed mcab closed 5 years ago

mcab commented 5 years ago

We need a representation of the data we want to store in our database. This is where model creation comes in. It allows us to give attributes to models, so that we can have a consistent way to store and get data.

mcab commented 5 years ago

Technically, pages are our models in this case.

mcab commented 5 years ago

Technically (technically), not. Since we're building off of Django, we can simply leverage making Django models, and then use Wagtail's Page model for whenever we want to display that information publicly.

I think that we'll at least want the Bat model exposed as a public page (to show what bats we're keeping track of). Beyond that, not too picky.

mcab commented 5 years ago

Closed by #15, #16, and #21 being merged in.