3 ms·
I use decorators like that in Django where I want to reuse the same code to check something on the request object but the functions I am decorating expect keywo
by n0us 11y ago
I use decorators like that in Django where I want to reuse the same code to check something on the request object but the functions I am decorating expect keyword arguments
- nstart 11y agoI've been thinking of something like this for models especially. Where I have made my own models and worked with Flask, but now need to integrate the Django framework. Just a vague idea though. Haven't formed a clear picture of how I'll do it at all