Şimdi beyler biraz bakındım olay şöyle
Authenticate bir bok yapmıo sadece username ve password kontrolü
Loginde sistem o usera bağlı bir session key oluşturuo ve bundan sonra yaptığın işlemleri hepsini request'i yapan user'a göre yapıo.
şurda bayağa anlatmş session oalyın
Enabling sessions
Sessions are implemented via a piece of
middleware.
To enable session functionality, do the following:
- Edit the MIDDLEWARE_CLASSES setting and make sure it contains 'django.contrib.sessions.middleware.SessionMiddleware'. The default settings.py created by django-admin.py startproject has SessionMiddleware activated.
If you don’t want to use sessions, you might as well remove the
SessionMiddleware line from
MIDDLEWARE_CLASSES and
'django.contrib.sessions' from your
INSTALLED_APPS. It’ll save you a small bit of overhead.
fln bayağa şey var burda iyice bakalım