Commits

Josh VanderLinden committed ae20da2

Rolling back one of my original changes in favor of ramusus' code. Version bump.

  • Participants
  • Parent commits 0e8a978
  • Tags 0.3.2

Comments (0)

Files changed (2)

tracking/__init__.py

 from django.conf import settings
 from django.core.urlresolvers import reverse, NoReverseMatch
 
-VERSION = (0, 3, 1)
+VERSION = (0, 3, 2)
 
 def get_version():
     "Returns the version as a human-format string."

tracking/middleware.py

 
         # create some useful variables
         ip_address = utils.get_ip(request)
-        user_agent = utils.u_clean(request.META.get('HTTP_USER_AGENT', '')[:255])
+        user_agent = request.META.get('HTTP_USER_AGENT', '')[:255]
 
         # see if the user agent is not supposed to be tracked
         for ua in UntrackedUserAgent.objects.all():