Skip to content

Glossary: Django Basics

ordering

Also written: Meta ordering

A model `Meta` option that sets the default sort order of queries, such as `["name"]` for A to Z or `["-created"]` for newest first.

Where the book teaches it

Related terms

class MetaQuerySet