userassociation table in askbot db

asked 2016-03-04 05:22:03 -0500

manish gravatar image

updated 2016-03-04 05:26:54 -0500

Whats the importance of the below code in deps/django_authopenid/ ? I have integrated LDAP and LDAP server seems to be returning response but code fails over here and user is hence not able to login.

Does below code expects some predefined data in table "django_authopenid_userassociation" ?

assoc = UserAssociation.objects.get(
openid_url = ldap_username + '@ldap',
provider_name = 'ldap'
print " - " + str(assoc)
user = assoc.user

edit retag flag offensive close merge delete


To display blocks of code, either indent them with 4 spaces, or select the corresponding lines and click the "code" button (the icon with '101 010'). Can you edit your question to do that? To display inline code, surround it within "backticks" or "backquotes" `.

slelievre gravatar image slelievre  ( 2016-04-13 01:41:51 -0500 )edit