> 4. Add a custom login() method to my custom authentication backend?
> This sounds like an option I could undertake but I'm unsure of the
> syntax to select the appropriate database and perform all of the
> required login features like saving the User ID to the session, etc.
I would do this. Find some appropriate way of storing your database as a string and then do a lookup on get_user to use that. I wouldn't worry too much about what's there, just write something for your particular use case.
Presumably you also have another user database where you can store data particular to you application such as session and profiles since your other databases sound immutable?
--
Andy McKay
andy@clearwind.ca
twitter: @andymckay
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment