Ken Cochrane

Results 194 comments of Ken Cochrane

Not sure, I haven't tested, if you test it out, please let us know what you find.

If you are logging access attempts are you seeing any entries in the database for you login attempts?

What version of defender, Python, and django are you using? Maybe use the decorator on the urls.py like shown here? https://stackoverflow.com/questions/5796897/wrapping-decorating-a-function-in-urls-py-vs-in-views-py/5797020#5797020

There might be an exception getting thrown from the decorator that is causing this error, can you post the full stack trace?

I'm glad you have it working, feel free to close this issue unless there is something else we can help you with.

OK, have you looked at how the official Django login view handles it, maybe you can copy what they did to get yours working correctly.

@ashrafemad thanks for finding this. It has been a while since I looked at that code, but I think you are right. Feel free to submit a PR with the...

@hsenot thanks for the note, I agree we should also do something about this, but I'm not 100% sure what the correct way will be. I'm on vacation right now...

Most likely relates to #218 @erdos4d any ideas?

@marcusmartins @bcwalrus what do you think?