Re: For validation not working for UserCreationForm

2019-08-29 Thread Shakil Ahmmed
Firstly I Have More than 1 Million Data In my database , while i want to perform aggregation or annotation or filter it took huge time , i have to show all data at a time,,, i use select_related() for foreign key but i want to optimize database hitting , like i want to fetch all data from database

Re: For validation not working for UserCreationForm

2019-08-28 Thread 'Amitesh Sahay' via Django users
Hey Kean,  I am already working on some Djago user authentication . Below are my codes, may be they would help you. views.py from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login, logout from django.contrib import messages from django.contrib.auth.forms

For validation not working for UserCreationForm

2019-08-28 Thread Kean
Hi, New to Django. I've created a registration form which inherits from a User form. The issue is none of the validators are working. e.g reporting to user password miss-match, or any other error if user enters data incorrect to validation. The form simply validates with errors and redirect user