-
**Describe the bug**
with
tortoise-orm==0.20.0
pydantic==2.2.1
code like:
```
class Task(Model):
usage_time = fields.TimeDeltaField(null=True, blank=True, description='usgae')
cla…
-
**Describe the bug**
Getting error :from tortoise.contrib.fastapi import HTTPNotFoundError, register_tortoise
ModuleNotFoundError: No module named 'tortoise'
but i already installed it in venv ,…
-
Steps to reproduce:
- Execute aerich upgrade
- Add model level index using indexes list
```
class IndexedModel(Model):
class Meta:
table = "indexed_model"
indexes = [Index(f…
-
The example here only shows filtering by an exact match: https://github.com/tortoise/tortoise-orm/blob/2a4a77fed39f316c61803f928cb68046ac17f07e/examples/postgres.py#L39
Is there a way to filter bas…
-
i don't know how to describe the problem, but pipreqs always replaces ffmpeg-python with ffmpeg.
any plan how to fix that?
-
tornadmin/backends/forms.py:
_from tortoise.query_utils import Q_
The Q class is currently in tortoise.expressions
-
Why is there no Field for file upload?
[https://tortoise-orm.readthedocs.io/en/latest/fields.html](docs)
Such as FileField
What should I do if I need Fields to upload files now?
-
Hello!
I've been looking for a library like this one and I think it can be pretty useful. I want to use it to convert an object that is mapped from a table of my database (I'm using Tortoise ORM fo…
-
# Sanic 下最好用 ORM 之 databases | 晨曦's Blog
前记在使用 Sanic 的过程中对 ORM 的选择可谓是痛苦的,用过官方推荐的 Tortoise ORM,也用过 SQLAlchemy 比起使用 ORM 我更喜欢原生 SQL,当我看见 databases 的时候我发现它满足了的我所有要求,支持异步驱动 aiomysql,支持原生 SQL 写法,还封装进了 SQLA…
-
**Describe the bug**
I am using version 0.19.1 of tortoise-orm. It is not fetching the datetime fields of models correctly from from postgres database. This problem is not present in version 0.19.0.
…