Ticket #14231: django_session_index.patch
File django_session_index.patch, 609 bytes (added by , 14 years ago) |
---|
-
django/contrib/sessions/models.py
45 45 session_key = models.CharField(_('session key'), max_length=40, 46 46 primary_key=True) 47 47 session_data = models.TextField(_('session data')) 48 expire_date = models.DateTimeField(_('expire date') )48 expire_date = models.DateTimeField(_('expire date'), db_index=True) 49 49 objects = SessionManager() 50 50 51 51 class Meta: