我们可以在django app中集成djangobb吗?意味着djangobb应该使用我们的django应用程序系统auth系统而不是它自己的??
答案 0 :(得分:1)
DjangoBB使用django Auth System,你可以从它的代码中看到:
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))