SarathkumarJ / snapboard

Automatically exported from code.google.com/p/snapboard
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

App doesn't recognize authenticated user. #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
snapboard revision 102, django revision 4464.

Updated to revision 102 and reset the models for the app via:

python manage.py reset snapboard

Added in the new variables and added the new context processor into
settings.py.  

When I connect to the forum, I'm not recognized as a user.  The right pane
where user information and links would be actually is prompting for me to
sign in.

Original issue reported on code.google.com by johnnie....@gmail.com on 13 Feb 2007 at 2:04

GoogleCodeExporter commented 8 years ago
I'm having trouble reproducing the problem in trunk.

I do remember that a bug was introduced in the auth module in rev 4464.  Try 
updating
Django (I used 4496).

Original comment by bs1...@gmail.com on 13 Feb 2007 at 6:04

GoogleCodeExporter commented 8 years ago
I had serious difficulty reproducing this after more mucking around.  

To verify that I was really seeing an issue, I created a second account in the
system.  All of my previous efforts were not working with my super user 
account.  I
logged in with the new account to verify the problem and couldn't.  

Turns out that I had run into some issue with TEMPLATE_CONTEXT_PROCESSORS. I 
had at
one point needed to add in the default values indicated in the settings
documentation.  It's not quite clear that when you set that variable in 
settings.py,
you need to make sure to include the three defaults as well.

Well, I hadn't included "django.core.context_processors.auth" and that was 
tripping
up the app.  I'll indicate this in the app integration doc just to make sure 
someone
else doesn't trip up on this.

Issue resolved.

Original comment by johnnie....@gmail.com on 13 Feb 2007 at 9:20

GoogleCodeExporter commented 8 years ago
Closing as invalid.

Original comment by johnnie....@gmail.com on 14 Feb 2007 at 12:45