skip to Main Content

Mysql – How to make password hashing in django project, i am using custom autentication for login?

I want to make password hashing possible for a django project. views.py for login. def asset_login(request): if request.method == 'POST': username = request.POST.get('user_id') password = request.POST.get('password') try: user = UserTable.objects.get(username=username, password=password) if user: if user.status == 'inactive': messages.error(request, 'Your account…

VIEW QUESTION
Back To Top
Search