incuna / django-orderable

Add manual sort order to Django objects via an abstract base class and admin classes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metaclass != class Meta

mjtamlyn opened this issue · comments

In the readme it refers to a metaclass, which is something very different to the class Meta on a Django model. In fact, Django Models have a metaclass which is what does the magic of turning the fields into a model.

https://docs.python.org/2/reference/datamodel.html#customizing-class-creation

👍 That paragraph could probably also do with a quick example.