Hi,
Well it seems that you have understood things a bit incorrectly.
First at all, only logged in user is the one accessing some page (a view) from
Django system.
After that there is nobody logged in traditional sense - there is no simple way
to detect that user closed browser and was "logged
but can it also update a message on a page where that user is without
reloading the page?
lets say user 1 is on page http://www.domain.com/acertainview/
and at that moment i start a signal as admin with the text hello there
Can i update the text on his page to that text (live)
Op maandag 19
Yes, always one user logged in, django will look for receiver and running
the method.
2013/8/19 Gerd Koetje
> omg god bless python/django..
>
>
> So this really works?
>
> user 1 is logged in to my app
> user 2 is logged in to my app
>
> As admin i send a signal
omg god bless python/django..
So this really works?
user 1 is logged in to my app
user 2 is logged in to my app
As admin i send a signal with the text hello all and it will be printed on
the page that user 1 and 2 are on?
--
You received this message because you are subscribed to the Google
from django.contrib.auth import user_logged_in
@receiver(user_logged_in)
def my_func(...)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
maybe you can use a middleware to log access
On Mon, Aug 19, 2013 at 7:29 AM, Gerd Koetje wrote:
> Is is possible to start an event at all connected users with signals?
> If this is possible can someone show me an example of it.
>
>
> Greetz
> Gerd
>
> --
> You
Is is possible to start an event at all connected users with signals?
If this is possible can someone show me an example of it.
Greetz
Gerd
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
7 matches
Mail list logo