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