vlakius

Results 14 comments of vlakius

> Did you run aerich upgrade prior to making the `on_delete` code change and then run aerich migrate? no, but I just tried and it keeps giving me "no changes...

Still not working... `react": "^18.2.0",`

Had the same problem too ` postgres 15.1 ` `aerich==0.7.2` The problem seems to be that aerich does not correctly identify the foreign key This can be verified by executing...

Could you please provide your models ?

Although it is an old post, I leave the solution in case anyone has the same question: This is the solution I found for sending mails with celery and fastapi-mail...

This is not related to tortoise orm. from the python docs: _**6.4. Await expression** Suspend the execution of [coroutine](https://docs.python.org/3/glossary.html#term-coroutine) on an [awaitable](https://docs.python.org/3/glossary.html#term-awaitable) object. Can only be used inside a [coroutine...

ok 1. Create a folder structure like this: ``` ├── app │ ├── models.py ├── db.sqlite3 ├── main.py ``` in models.py ```python from tortoise import fields from tortoise.models import Model...

if i undestand correctly you could create a classmethod to obtain the parentName as `parent_name` property ```python class SysMenu(Model): id = fields.IntField(pk=True) pid = fields.IntField() name = fields.CharField(max_length=200) url =...

We definitely need more information to even formulate a hypothesis: - Version of tortoise orm - version of python - How are users saving data ? is tortoise being used...

As mentioned above, it is not possible to determine the cause without more information. Try to isolate the problem and then provide in a minimal example to reproduce it