-
**Is your feature request related to a problem? Please describe.**
I am running a project with `FastAPI` and `Pydantic`, when I find that I often want to implement custom `from_queryset`, `from_torto…
-
Hello, my team just ended up realizing that one of our bugs was due to tortoise using UTC time on auto_now and auto_now_add.
Could the timezone it uses be configurable or maybe just use the local s…
-
1. Бот делает всего пару запросов к SQLite, и прикручивание ORM только добавляет сложности, как мне кажется.
2. SQLAlchemy -- синхронная библиотека. Для работы с SQLite есть `aiosqlite`.
-
The template does not use async at all. Is there any particular reason for that? Do celery, sqlalchemy etc work with async?
How much code will have to be changed for async?
-
In our project we use multiple MySQL schemas/databases. Now, the only way to access the data, is to create a separate 'app' record with their own connection:
```python
class Model1(Model):
..
…
-
**Is your feature request related to a problem? Please describe.**
When I print a model,I can only got model's name.
The __str__ function should have the same logic as the __repr__ function.
In the…
-
**Describe the bug**
when i changed my models.py , added some new model classes , and then i excuted aerich migrate ,raiseed a "ConfigurationError" ; i decided delete all files under the migrations …
-
**Is your feature request related to a problem? Please describe.**
I'm connecting my Python application to Laravel, a web framework. Laravel generates its database tables with underscores, but Tortoi…
-
I am using the json `config_file` approach for Tortoise ORM setup.
This is a part of the working file:
```
'apps': {
'my_app': {
'models': ['my_models.users', 'my_models.t…
-
```
class User(models.Model):
name = fields.CharField(max_length=100)
email = fields.CharField(max_length=50)
recipes: fields.ReverseRelation["Recipe"]
class Recipe(models.Model):…