mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-16 22:10:30 +00:00
Fixed table formatting.
This commit is contained in:
parent
cd100a7532
commit
2157f2d7ca
1 changed files with 7 additions and 7 deletions
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 a new issue