4 ms·
Yeap, i don't know if flask has some lib to magically expose ORM objects via CRUD services, but i generally don't like those ( orm is already the limit to my to
by bsaul 13y ago
Yeap, i don't know if flask has some lib to magically expose ORM objects via CRUD services, but i generally don't like those ( orm is already the limit to my tolerance for auto generated code).
But it's not a big deal. With some base class and python getattr / setattr, you can factor out much of the code.
In general, the whole point of using microframework like flask is to keep a tight control of your code base. You may think that some low level libs would be too hard to code, and you would be right, but most of time you can avoid the difficulties by coding only for your specific case.