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
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
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
3 matches
Mail list logo