Django

Code

Changeset 1584

Show
Ignore:
Timestamp:
12/08/05 21:39:31 (3 years ago)
Author:
adrian
Message:

Fixed #857 -- Changed default session cookie name from hotclub to sessionid. Django is now 10% less pornish.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/conf/global_settings.py

    r1379 r1584  
    194194############ 
    195195 
    196 SESSION_COOKIE_NAME = 'hotclub'           # Cookie name. This can be whatever you want. 
     196SESSION_COOKIE_NAME = 'sessionid'         # Cookie name. This can be whatever you want. 
    197197SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks). 
    198198SESSION_COOKIE_DOMAIN = None              # A string like ".lawrence.com", or None for standard domain cookie. 
  • django/trunk/docs/sessions.txt

    r1304 r1584  
    216216------------------- 
    217217 
    218 Default: ``'hotclub'`` 
     218Default: ``'sessionid'`` (**Django development version.** Previous default was 
     219``'hotclub'``, which was deemed to pornish.) 
    219220 
    220221The name of the cookie to use for sessions. This can be whatever you want. 
    221  
    222 ``'hotclub'`` is a reference to the Hot Club of France, the band Django 
    223 Reinhardt played in. 
    224222 
    225223SESSION_SAVE_EVERY_REQUEST 
  • django/trunk/docs/settings.txt

    r1384 r1584  
    526526------------------- 
    527527 
    528 Default: ``'hotclub'`` 
     528Default: ``'sessionid'`` (**Django development version.** Previous default was 
     529``'hotclub'``, which was deemed to pornish.) 
    529530 
    530531The name of the cookie to use for sessions. This can be whatever you want. 
    531532See the `session docs`_. 
    532  
    533 ``'hotclub'`` is a reference to the Hot Club of France, the band Django 
    534 Reinhardt played in. 
    535533 
    536534SESSION_SAVE_EVERY_REQUEST