In meta ,how to set "order by synax"
Well, I think setting a default ordering is _always_ a bad idea, but since you asked:

``` python
class Meta:
    order_by = ('location', '-position')
```

`order_by` is a tuple. The elements of the tuple are field names. If prefixed by a "-", then the field is ordered descending.
 6969201d22676e4e7557949fcccd13d835a662a4 contains doc updates.

I'm use Peewee ORM.

I have a class such as this:

``` python
class Sample(PMBaseModel):
    id = peewee.PrimaryKeyField()
    location = peewee.CharField(max_length=255)
    position = peewee.IntegerField()

    class Meta:
        db_table = 'sample'
```

how i can use Meta Class for set default ordering and define Order type?
