Displaying Category object (1) instead of Category name in django admin panel
In Django project, the Admin panel displays the Category records like this Category Object(1). And also not showing the dropdown values instead it showing the data objects.
Solution for the problem:
It was happening because of improper indentation of _str_ function.
✅Subscribe: https://www.youtube.com/infinetsoftso...
✅Blog: https://www.infinetsoft.com, ✅Tech:https://chiptrolls.com
✅ Twitter: / infinetsoft
Watch video Displaying Category object (1) instead of Category name in django admin panel | PYTHON online without registration, duration hours minute second in high quality. This video was added by user Infinetsoft solutions 19 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 966 once and liked it 11 people.