ceys / django-tracking

Automatically exported from code.google.com/p/django-tracking
MIT License
0 stars 0 forks source link

prefixes.append(reverse('tracking-refresh-active-users')) does not work! #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When prefixes.append(reverse('tracking-refresh-active-users')) is active on 
Line 58 middleware.py, 
i get the following message:

NoReverseMatch: Reverse for 'tracking-refresh-active-users' with arguments '()' 
and keyword 
arguments '{}' not found.

Original issue reported on code.google.com by he...@sandgrave-media.de on 3 Feb 2009 at 7:53

GoogleCodeExporter commented 8 years ago
Thank you for finding this!  The problem probably arose because you didn't 
include 
django-tracking's URLconf anywhere in your site.  I never found this issue 
myself 
because I'm always interested in having those views available to me, but I do 
realize 
that others might not always want them.

I've updated the middleware to play nicely when django-tracking is not in the 
URLconf.

Thanks again!

Original comment by wheaties...@gmail.com on 3 Feb 2009 at 1:25