On Sunday, 4 October 2015 00:24:22 UTC+5:30, Andréas Kühne wrote:
>
> Hi again,
>
> What I would do is create a django management command (see
> https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/)
> and then use cron to call it a regular intervals (5-10 minute intervals for
Hi again,
What I would do is create a django management command (see
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/)
and then use cron to call it a regular intervals (5-10 minute intervals for
example).
Another way to do it would be to use celery, which is a delayed job w
On Saturday, 3 October 2015 03:58:19 UTC+5:30, Vijay Khemlani wrote:
>
> Also it is most likely inconsistent if the user has the same webpage
> opened on two different tabs
>
>
Could you please elaborate related to which thing, you are telling this and
how would it lead to inconsistent?
--
Yo
On Saturday, 3 October 2015 02:25:46 UTC+5:30, Andréas Kühne wrote:
>
> Hi,
>
> I don't think you can reliably do that. Django never knows when the user
> closes his browser window. Because a session is stateless (there is only a
> connection to the server when it responds to a request). Howeve
Also it is most likely inconsistent if the user has the same webpage opened
on two different tabs
On Fri, Oct 2, 2015 at 5:55 PM, Andreas Kuhne
wrote:
> Hi,
>
> I don't think you can reliably do that. Django never knows when the user
> closes his browser window. Because a session is stateless (t
Hi,
I don't think you can reliably do that. Django never knows when the user
closes his browser window. Because a session is stateless (there is only a
connection to the server when it responds to a request). However you could
do this via a bit of ajax or a pretty unreliable javascript event.
Wha
6 matches
Mail list logo