summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2006-07-20 03:32:24 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2006-07-20 03:32:24 +0000
commit740a8d20f182bfa5d8f53fe625d7ebafc4ba4bb9 (patch)
tree4334957f7c1ab44c7a2793a97882808a0ed35c11
parentc072c8dcd32fb683d8ed4503b8b2d8dfeca17f25 (diff)
Fixed formatting of comments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/sessions/models.py16
1 files changed, 13 insertions, 3 deletions
diff --git a/django/contrib/sessions/models.py b/django/contrib/sessions/models.py
index 8e2d011e3f..f684cd381e 100644
--- a/django/contrib/sessions/models.py
+++ b/django/contrib/sessions/models.py
@@ -32,11 +32,21 @@ class SessionManager(models.Manager):
return s
class Session(models.Model):
- """Django provides full support for anonymous sessions. The session framework lets you store and retrieve arbitrary data on a per-site-visitor basis. It stores data on the server side and abstracts the sending and receiving of cookies. Cookies contain a session ID -- not the data itself.
+ """
+ Django provides full support for anonymous sessions. The session
+ framework lets you store and retrieve arbitrary data on a
+ per-site-visitor basis. It stores data on the server side and
+ abstracts the sending and receiving of cookies. Cookies contain a
+ session ID -- not the data itself.
- The Django sessions framework is entirely cookie-based. It does not fall back to putting session IDs in URLs. This is an intentional design decision. Not only does that behavior make URLs ugly, it makes your site vulnerable to session-ID theft via the "Referer" header.
+ The Django sessions framework is entirely cookie-based. It does
+ not fall back to putting session IDs in URLs. This is an intentional
+ design decision. Not only does that behavior make URLs ugly, it makes
+ your site vulnerable to session-ID theft via the "Referer" header.
- For complete documentation on using Sessions in your code, consult the sessions documentation that is shipped with Django (also available on the Django website).
+ For complete documentation on using Sessions in your code, consult
+ the sessions documentation that is shipped with Django (also available
+ on the Django website).
"""
session_key = models.CharField(_('session key'), maxlength=40, primary_key=True)
session_data = models.TextField(_('session data'))