UCADevClub / HIS-back

0 stars 0 forks source link

New views and serializers #1

Closed k1zlt closed 10 months ago

k1zlt commented 10 months ago

You need to drop the DB and then migrate again.

oneku16 commented 10 months ago

image here in line 87: more pythonic way to check instance of object is builtin function isinstance -> if isinstance(data, (str, int)): ... in line 92: class Address does not have a method objects, as I know mother class Models does not have it as well, we need to define new method for address. + i guess we can find batter option for it.