Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_entries(self):
return EntryPage.objects.descendant_of(self).live().order_by('-date').select_related('owner')