robinsandstrom

Results 5 comments of robinsandstrom

It is quite easy to implement a custom JWT authentication using PyJWT, I personally prefer that Django-ninja is quite lightweight and any auth packages should be separated as third party...

Here is a simple helper function that can be used to parse the errors into a json on the form: ```from collections import defaultdict ### returns errors on the form...

I'm late to the show but you can just do this by: `objects = ScopedManager(tenant="tenants", _manager_class=MyUserManager)` And add a middleware: ``` class SetTenantMiddleware: def __init__(self, get_response): self.get_response = get_response def...

Here is how I currently do it, begin with installing `i18next-scanner’ and then add the following config: ``` /** RUN WITH COMMAND: i18next-scanner **/ const fs = require('fs') const chalk...

Not sure if you solved this but we added some tree logic we build ourself with breadth first searches & normalizing/building-trees. By combining this with the taginput for example we...