-all()

Querying Data

from .models import BlogPost
all_posts = BlogPost.objects.all()

Last updated