2
In views.py you are passing the class Character to the serialiser. You should be passing the data characters.
Also don’t use preferred name as a primary key it could easily be non-unique
Source:stackexchange.com
2
In views.py you are passing the class Character to the serialiser. You should be passing the data characters.
Also don’t use preferred name as a primary key it could easily be non-unique