tags:

views:

30

answers:

1

can we integrate djangobb in django app. means djangobb should use our django application systems auth system instead of its own ??

A: 

DjangoBB uses django Auth System as you can see from its code:

views.py

def reply(request, thread):
    """
    If a thread isn't closed, and the user is logged in, post a reply
    to a thread. Note we don't have "nested" replies at this stage.
    """
    if not request.user.is_authenticated():
        return HttpResponseRedirect('%s?next=%s' % (LOGIN_URL, request.path))
patrick