bruth / django-tracking2

django-tracking2 tracks the length of time visitors and registered users spend on your site. Although this will work for websites, this is more applicable to web _applications_ with registered users. This does not replace (nor intend) to replace client-side analytics which is great for understanding aggregate flow of page views.
BSD 2-Clause "Simplified" License
205 stars 67 forks source link

Use string reference for user model #59

Closed mjschultz closed 8 years ago

mjschultz commented 8 years ago

According to the django docs, the AUTH_USER_MODEL attribute and associated get_user_model call has existing since version 1.5. This means that the little compatibility layer that (I think) was for django 1.4 LTS is no longer needed.

This change removes that compatibility layer and allows the app to appear anywhere in the INSTALLED_APPS list.

Ref: https://github.com/bruth/django-tracking2/issues/58

bruth commented 8 years ago

Thank you for the change.