Update usage docs

This commit is contained in:
blag 2020-07-22 01:52:57 -07:00
parent 795dc26275
commit 2e5f7addf4
No known key found for this signature in database
GPG key ID: 30870D32F59C5F40

View file

@ -4,7 +4,7 @@ Using Django Admin Sortable
Models
------
To add sorting to a model, your model needs to inherit from ``Sortable`` and have an inner ``Meta`` class that inherits from ``Sortable.Meta``::
To add sorting to a model, your model needs to inherit from ``SortableMixin`` and at minimum, define an inner ``Meta.ordering`` value
# models.py
from adminsortable.models import Sortable