1. Daniel Greenfeld
  2. django-visitor-pydanny

Commits

Jesse Heitler  committed 2cf1fe9

Fixed typo vistor => visitor.

This changed the api and may cause problems with existing apps.

  • Participants
  • Parent commits ffcb979
  • Branches default

Comments (0)

Files changed (1)

File visitor/visitor_utils.py

View file
  • Ignore whitespace
 
 
 #-------------------------------------------------------------------------------
-def get_vistor_cookie_key(request):
+def get_visitor_cookie_key(request):
     """ look for the cookie and if we find one return the visitor key """
     if constants.COOKIE_VISITOR_KEY in request.COOKIES:
         return request.COOKIES[constants.COOKIE_VISITOR_KEY]
         return None
         
 #-------------------------------------------------------------------------------
-def get_vistor_from_request(request):
+def get_visitor_from_request(request):
     """ look for the cookie and if we find one return the visitor key """
     if constants.COOKIE_VISITOR_KEY in request.COOKIES:
         return get_visitor(request.COOKIES[constants.COOKIE_VISITOR_KEY])