You can read the docs:
or the source code: https://github.com/django/django/blob/578e576c31fcd5757c3f4fc2dea7673b3462f575/django/contrib/sessions/backends/base.py
If still confusing, maybe you should learn HTTP session and cookies:
john speny <johnspeny@gmail.com>于2018年6月23日周六 下午9:55写道:
What does the method session.keys() do or particularly that keys() method--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/254b2ac1-b7cf-4450-bf2e-e3d6cdb11815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMv51WT6ee%3DShnez93Pi4H7winwU1s4Qx8SN9OOf8%3DyPeJJg5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment