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