Even though i have not directly answered my question, i found out that
session storage is an alternative solution.
On Friday, October 18, 2013 12:17:50 PM UTC-7, Khanh Tran wrote:
>
> I am using out of the box django 1.5 authentication solution. After
> authenticated, i wa
I am using out of the box django 1.5 authentication solution. After
authenticated, i want to add a 'post_login_info' to the user using
user_logged_in signal from django.contrib.auth.signals
from django.contrib.auth.signals import user_logged_in
from django.dispatch import receiver
I am using out of the box django 1.5 authentication solution. I also
user_logged_in signal from django.contrib.auth.signals to add a piece of
information to the logged in user to hope i can retrieve it later as follow:
from django.contrib.auth.signals import user_logged_in
from django.dispatch
I am using out of the box django 1.5 authentication solution. After user is
logged in, i use build-in user_logged_in signal from
django.contrib.auth.signals to add a piece of information to the logged in
user as follow:
from django.contrib.auth.signals import user_logged_in
from
In my models, there is a many-to-many relationship between User and Store
that she works for. After authenticated, if the user want to access a
view that is specific to a store that she belongs to, a prerequisite action
would be prompting her for the store she want to work with, unless she only
Thank you, jondbaker. That works!
On Wednesday, October 2, 2013 3:55:11 PM UTC-7, Khanh Tran wrote:
>
> Lets say both Customer and Business have an Address. In JPA, we can store
> address attributes(street,city,state,zip) directly inside Customer and
> Business using @Embedded a
Lets say both Customer and Business have an Address. In JPA, we can store
address attributes(street,city,state,zip) directly inside Customer and
Business using @Embedded annotation.Is there an equivalent to @embedded in
python without using ForeignKey field.
--
You received this message
7 matches
Mail list logo