Author: russellm
Date: 2006-07-19 22:32:24 -0500 (Wed, 19 Jul 2006)
New Revision: 3392

Modified:
   django/trunk/django/contrib/sessions/models.py
Log:
Fixed formatting of comments.

Modified: django/trunk/django/contrib/sessions/models.py
===================================================================
--- django/trunk/django/contrib/sessions/models.py      2006-07-19 22:22:31 UTC 
(rev 3391)
+++ django/trunk/django/contrib/sessions/models.py      2006-07-20 03:32:24 UTC 
(rev 3392)
@@ -32,11 +32,21 @@
         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'))


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to