Am 18.07.2008 um 14:01 schrieb Rishabh Manocha:
> You could use "user profiles" which will allow you to store various
> user specific preferences.
At the Pinax project for example, we are using a language field in the
profile model [1] together with a custom middleware [2] to set the
Hello,
Sometimes ago I try to solve a similar problem, it seems to me that
the solution to your problem is to write a middleware.
You will find an example there :
http://yml-blog.blogspot.com/search/label/Django
---8<
from django.utils.cache import
You could use "user profiles" which will allow you to store various user
specific preferences. See [1] to learn how to do this.
I am currently using profiles to identify users by the department they work
in and the last time they edited a form (this is different from last login).
Best,
R
[1] -
Hi,
> In my Web application, every user has to log in. In an additional
> user database table, the prefered language of each user is given.
> But how do I activate it?
>
> I use django.contrib.auth.views.login for the login. However, as
> far as I can see, I have to copy-and-paste this
Hallöchen!
In my Web application, every user has to log in. In an additional
user database table, the prefered language of each user is given.
But how do I activate it?
I use django.contrib.auth.views.login for the login. However, as
far as I can see, I have to copy-and-paste this function
5 matches
Mail list logo