access Django queryset from class methods code example
Example 1: django objects.create()
SomeModel.objects.create(firstname='ricky', lastname='ticky')
Example 2: django filter values with OR operator
Blog.objects.filter(pk__in=[1, 4, 7])
SomeModel.objects.create(firstname='ricky', lastname='ticky')
Blog.objects.filter(pk__in=[1, 4, 7])