summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frest/manage/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/frest/manage/utils.py b/frest/manage/utils.py
index a364ae9..b1744a7 100644
--- a/frest/manage/utils.py
+++ b/frest/manage/utils.py
@@ -121,7 +121,7 @@ def create_model_cli(name):
elif field["type"] == "text":
field_string += "db.Text"
elif field["type"] == "datetime":
- field_string += "db.Datetime"
+ field_string += "db.DateTime"
elif field["type"] == "float":
field_string += "db.Float"
else: