Search - User list
Full Version: Adding to an existing project
Root » The Other » Adding to an existing project
Hey guys!
I'm stuck adding djangobb to my existing project.

I downloaded and installed djangobb (and all its dependencies) but now I can't get it to work. I tried adding everything my “project1/” was missing (compared to basic_project/ and added a new URL rule:
(r'^forum/', include('djangobb_forum.urls', namespace='djangobb')),
I copied from basic_project to my project, but when I try to open localhost:8000/forum I get the following error:

AttributeError at /forum/

'str' object has no attribute 'is_authenticated'

Request Method: GET
Request URL: http://localhost:8000/forum/
Django Version: 1.4
Exception Type: AttributeError
Exception Value:

'str' object has no attribute 'is_authenticated'

Exception Location: /usr/lib/python2.7/site-packages/djangobb_forum-0.0.1a0-py2.7.egg/djangobb_forum/templatetags/ in set_theme_style, line 272
Python Executable: /usr/bin/python2
Python Version: 2.7.3
Python Path:


Server time: Wed, 30 May 2012 18:35:36 +0200

What did I do wrong?

traced on user.is_authenticated(), did u used any exotic auth backends?

check user object in template
No, I use the builtin authentication stuff and django-registration but that doesn't fiddle with the user object.

I will try to trace this further, reporting back when I know more.

edit: The way I tried to install and run it is correct, aye?
check projects/basic_project
I just had the same problem.
make sure you have inside your
I got it to work now. I think the issue was what lehins describes, I seem to have forgotten the processor.

Sorry about that!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB