refactor fields into a package
This commit is contained in:
31
orm/fields/__init__.py
Normal file
31
orm/fields/__init__.py
Normal file
@ -0,0 +1,31 @@
|
||||
from orm.fields.model_fields import (
|
||||
BigInteger,
|
||||
Boolean,
|
||||
Date,
|
||||
DateTime,
|
||||
Decimal,
|
||||
String,
|
||||
Integer,
|
||||
Text,
|
||||
Float,
|
||||
Time,
|
||||
JSON,
|
||||
)
|
||||
from orm.fields.foreign_key import ForeignKey
|
||||
from orm.fields.base import BaseField
|
||||
|
||||
__all__ = [
|
||||
"Decimal",
|
||||
"BigInteger",
|
||||
"Boolean",
|
||||
"Date",
|
||||
"DateTime",
|
||||
"String",
|
||||
"JSON",
|
||||
"Integer",
|
||||
"Text",
|
||||
"Float",
|
||||
"Time",
|
||||
"ForeignKey",
|
||||
"BaseField",
|
||||
]
|
||||
Reference in New Issue
Block a user