coleifer/peewee — Issue #17: Add field inheritance
Author: deytao
Created: 2011-11-23 16:38:56+00:00
State: open

Hi,

It would be nice if something like that could work

```python
import peewee

Class CoreModel(peewee.Model):

id = peewee.PrimaryKeyField()
created = peewee.DatetimeField()

Class Meta:

database = db

Class User(CoreModel):

firstname = peewee.CharField()

Class Car(CoreModel):

brand = peewee.CharField()

```

I don't want to duplicate my fields.
Also for the id when I'm using a global ID.