Fixed table formatting.
parent
cd100a7532
commit
2157f2d7ca
14
README.md
14
README.md
|
|
@ -102,13 +102,13 @@ Each instance of a sortable model has two convenience methods to get the next or
|
|||
|
||||
By default, these methods will respect their order in relation to a `SortableForeignKey` field, if present. Meaning, that given the following data:
|
||||
|
||||
| Parent Model 1 | |
|
||||
| | Child Model 1 |
|
||||
| | Child Model 2 |
|
||||
| Parent Model 2 | |
|
||||
| | Child Model 3 |
|
||||
| | Child Model 4 |
|
||||
| | Child Model 5 |
|
||||
| Parent Model 1 | |
|
||||
| | Child Model 1 |
|
||||
| | Child Model 2 |
|
||||
| Parent Model 2 | |
|
||||
| | Child Model 3 |
|
||||
| | Child Model 4 |
|
||||
| | Child Model 5 |
|
||||
|
||||
"Child Model 2" `get_next()` would return `None`
|
||||
"Child Model 3" `get_previous` would return `None`
|
||||
|
|
|
|||
Loading…
Reference in New Issue