Code

Changes between Version 1 and Version 2 of CookBookRequiredGroupLogin


Ignore:
Timestamp:
07/05/06 08:13:38 (8 years ago)
Author:
djangoproject.com@…
Comment:

SESSION_KEY has been moved in latest trunk version

Legend:

Unmodified
Added
Removed
Modified
  • CookBookRequiredGroupLogin

    v1 v2  
    2727{{{ 
    2828from django.contrib.auth.decorators import login_required 
    29 from django.contrib.auth.models import Group, SESSION_KEY 
     29from django.contrib.auth.models import Group 
     30from django.contrib.auth import SESSION_KEY 
    3031from django.shortcuts import render_to_response 
    3132