Django Notes

ORM Notes

Print query

Custom Query

Raw

deep SQL

Signals

model saved signal

 

Custom Signal

 

Sessions

add it to installed apps and middleware apps

set session

 

flat pages

 

in admin panel set the template path in advanced options

User Authentication
settings file

get sure of
installed app

auth
session
middleware
context processor

URLs for login

protect action in views

 

UserProfile

create app called accounts

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.