mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
9 lines
138 B
Python
9 lines
138 B
Python
import peewee
|
|
|
|
database_proxy = peewee.DatabaseProxy()
|
|
|
|
|
|
class BaseModel(peewee.Model):
|
|
class Meta:
|
|
database = database_proxy
|