Tuesday, June 21, 2011

set language from user lang in DB?

What is the best way to set language that is in DB in UserProfile? I have option to select language for users and after selecting it, I update UserProfile table to set the language. While logging in, i need to get user language from his profile and set it. User changes are made by selecting options from list of languages.

How can I dod that in the best way?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/v2GQZXcaz0UJ.
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