mozilla / django-badger

django-badger is a reusable Django app for creating and awarding badges. See also badges.mozilla.org
https://github.com/mozilla/django-badger
BSD 3-Clause "New" or "Revised" License
117 stars 61 forks source link

Feature/django1.5 #160

Closed ToxicWar closed 11 years ago

ToxicWar commented 11 years ago
rlr commented 11 years ago

Changes in here look good to me! I'll defer to @lmorchard for doing a final r? and merging. Thanks!

askvictor commented 11 years ago

I've been using this branch with a django 1.5 project with a custom user model. Problems encountered:

try:
    from django.contrib.auth import get_user_model
    User = get_user_model()
except ImportError:
    from django.contrib.auth.models import User