riquedev/django-login-history2

Not working. Data not stored in database

Closed this issue · 1 comments

No error. But the data is not stored in the database at all
Screenshot 2024-06-15 105753
.

I suppose it does not work because of that line of code -

_ = Login.objects.create(
because of wrong indentation.

It should be that after getting result we create in the end Login instance.