mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
added models
This commit is contained in:
6
model/base.py
Normal file
6
model/base.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from mongoengine import *
|
||||
import datetime
|
||||
|
||||
|
||||
class BaseModel(Document):
|
||||
create_ts = DateTimeField(default=datetime.datetime.utcnow)
|
||||
Reference in New Issue
Block a user