refactor fields into a package

This commit is contained in:
collerek
2020-08-11 17:34:19 +02:00
parent 704e83fed0
commit 867fc691f7
13 changed files with 335 additions and 290 deletions

View File

@ -6,13 +6,13 @@ from orm.fields import (
DateTime,
Decimal,
Float,
ForeignKey,
Integer,
JSON,
String,
Text,
Time,
)
from orm.fields.foreign_key import ForeignKey
from orm.models import Model
__version__ = "0.0.1"
@ -28,7 +28,6 @@ __all__ = [
"Date",
"Decimal",
"Float",
"ForeignKey",
"Model",
"ModelDefinitionError",
"ModelNotSet",