KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I do this, >>> b = Blog.objects.all() >>> b I get this: >>>[<Blog: Blog Title>,<Blog: Blog Tile>] When I query what type b is, >>> type(b) I get this: >>> <class 'django.db.models.query.QuerySet'> What does this mean? Is it a data type like dict , list , etc? An example of how I can build data structure like a QuerySet will be appreciated. I would want to know how Django builds that QuerySet (the gory details).
Tags (comma-separated)
Save Edits
Cancel