From f9a896f469867fdf9574adf940221bfde25c51a4 Mon Sep 17 00:00:00 2001 From: Seonghyeon Cho Date: Mon, 26 Jul 2021 23:29:27 +0900 Subject: [PATCH] Fix space for nested list in markdown --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e223035..d6b0dda 100644 --- a/README.md +++ b/README.md @@ -85,11 +85,11 @@ Inlines may be drag-and-dropped into any order directly from the change form. To add "sortability" to a model, you need to inherit `SortableMixin` and at minimum, define: - The field which should be used for `Meta.ordering`, which must resolve to one of the integer fields defined in Django's ORM: - - `PositiveIntegerField` - - `IntegerField` - - `PositiveSmallIntegerField` - - `SmallIntegerField` - - `BigIntegerField` + - `PositiveIntegerField` + - `IntegerField` + - `PositiveSmallIntegerField` + - `SmallIntegerField` + - `BigIntegerField` - `Meta.ordering` **must only contain one value**, otherwise, your objects will not be sorted correctly. - **IMPORTANT**: You must name the field you use for ordering something other than "order_field" as this name is reserved by the `SortableMixin` class.