ece651-winter2019 / ece651-group-project

Simple web application that takes patient heart rate info and provides an interface for health practitioners to view patients data. This toy project can be re-purposed for any simple multi user, data collection application. Implements a rest api and accompanying mobile application.
https://pyramid-backend.herokuapp.com/
4 stars 4 forks source link

Admin Dashboard Currently Shows "Object ID" when editing Patient's Assigned Doctor Field #100

Closed gaberch closed 5 years ago

gaberch commented 5 years ago

Field should be displaying name of doctor not Object ID.

adkulas commented 5 years ago

I think this can be fixed by adding a __str__ method to the Profile model class. Tricky part is getting the first and last name. We'll probably need to follow the relation to the parent table.

adkulas commented 5 years ago

closed by PR #116