[Fixed]-Django models, How to retrieve a property of a foreign key object 15 December 2023 by thecoderscamp.com 1 As @2ps says in comments: def __str__(self): return self.product.name See docs. Gocht How to perfom_create when the objet is created in the admin site. Django RestFramework Source:stackexchange.com