I have created a project called class , and an application called students
when I write views,
I have to use
items = class.objects.all()
which is giving me error 🙁
please tell me way to overcome the error without changing my project name..
Thanks 🙂
I think you’ll have to rename it. ‘class’ is a keyword in python.
http://docs.python.org/reference/lexical_analysis.html#keywords