asked 2011-11-23 12:21:54 -0500hjwp
Next question! We're trying to integrate askbot with our own django app. Currently, after the user logs in, they are not redirected back to the askbot pages.
Normally in django you would use something like
to tell your login view to redirect back to a certain page... But it looks like the default Hi there! Please sign in login link in askbot does not do this... More importantly, neither does the "Login/Signup to Post" button on the pre-login "Ask your question" form...
Should we just disable the ability to post before login?
Ability to post before login can be added or removed in "settings"->"data entry and display"->"allow posting before logging in".
As for the on login redirect - please try django docs there is probably a setting for the default url. If it does not work for you, please let us know and we'll fix it.
You can also use your own login application by removing the
askbot.deps.django_authopenid app from the
settings.py and removing the corresponding authentication middleware, then replacing them for your preferred authentication app.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2011-11-23 12:21:54 -0500
Seen: 123 times
Last updated: Nov 23 '11