'Category' object is not subscriptable Django
'Category' object is not subscriptable Django Question: I am learning Django. I wrote a simple model and some views method in Django rest framework so that I can modify some particular attributes when needed to all the records that need that. Here is the model: from django.db import models class Category(models.Model): name = models.CharField(max_length=255) isActive …