Ran Benita
Ran Benita
So IIUC, `login` calls the regular `authenticate` function which iterates over all `AUTHENTICATION_BACKENDS` until one returns a user or `PermissionDenied`, and in your case it would reach the `ModelBackend` at...
Looks like the commit hasn't been merged so this should still be open.
In general, I would strongly recommend against doing this (performing queries in `default` callback), if you can at all avoid it. But in case you can't, can provide a stack...
I tried to follow what you are saying but the paragraph is a bit long and hard to understand. Can you rephrase it such that a simpleton like me can...
`ignore_template_errors` doesn't disable the entire mechanism, it only makes it not fail, but the `Undefined template variable '{}' in '{}'` errors are still shown. Setting it to `''` will disable...
Initial PR in #930.
@jgb @jcushman Thanks for the reports! I'll be looking at this again this weekend and I'll reply then.
@jcushman > FWIW I definitely struggled with the lack of a fixture version Yes, I'm pretty sure we need some integration with fixtures here. Your suggestion should be doable; all...
@jgb My answer is pretty much what @jcushman said (thanks!) -- it works here, so we'll need more details to help us narrow down the cause.
@gonzaloamadio > Does this mean that if I have a multi-db project, I can not use pytest for tests? It's supposed to be the other way around - previously you...