| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| management | ||
| migrations | ||
| tests | ||
| __init__.py | ||
| admin.py | ||
| auth.py | ||
| cookies.py | ||
| forms.py | ||
| helpers.py | ||
| middleware.py | ||
| models.py | ||
| roles.py | ||
| views.py |
Instead of refetching the role cache fresh every time we want to add a new role to a user, just manually add the role object. We have it available to us, the model, not a distilled-down version. Add that in and leave the existing cache.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| management | Loading commit data... | |
| migrations | Loading commit data... | |
| tests | Loading commit data... | |
| __init__.py | Loading commit data... | |
| admin.py | Loading commit data... | |
| auth.py | Loading commit data... | |
| cookies.py | Loading commit data... | |
| forms.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| middleware.py | Loading commit data... | |
| models.py | Loading commit data... | |
| roles.py | Loading commit data... | |
| views.py | Loading commit data... |