diff options
author | Santo Cariotti <dcariotti24@gmail.com> | 2020-04-09 21:50:45 +0200 |
---|---|---|
committer | Santo Cariotti <dcariotti24@gmail.com> | 2020-04-09 21:50:45 +0200 |
commit | f90d51838951e05491a502c072a4cc790b78b6e9 (patch) | |
tree | cbbcc4445b162c5ae5bfe73423f2d4825ee09ad4 | |
parent | 790443782ccab0784d817eb1f43021860906e455 (diff) |
fix: datetime for models
-rw-r--r-- | frest/manage/utils.py | 2 |
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: |