queryset untuk mendaftar python
from .models import Article
articles = Article.objects.all()
# This will return a queryset type
print(type(articles))
# Convert articles queryset to a python's list type
articles_list = list(articles)
# This will return a list type
print(type(articles_list))
ruperto2770