Re: Wants to make webpage auto reload whenever database is update.

2020-09-19 Thread Unnati C

Hello Saurabh, 
Before 3 years I solved my problem using Ajax and Javascript. If you know 
some front end coding try to fetch the updated data from backend database. 
Don't try to push it from backend to front end. Hope you get your answer. 

On Sunday, September 20, 2020 at 7:49:54 AM UTC+5:30 s1kp...@gmail.com 
wrote:

> hi Unnati can u help how it worked. i have same issue where i need to 
> restart server to get latest data otherwise it is not updating fresh data.
>
> On Sunday, 26 November, 2017 at 8:39:34 pm UTC+8 Unnati C wrote:
>
>> it's working, Thanks...
>>
>>
>> On Sunday, November 26, 2017 at 11:24:39 AM UTC+5:30, Shree Kant Bohra 
>> wrote:
>>
>>> Use this following code to reload page every few seconds as required - 
>>>
>>> 
>>> setTimeout(function () { 
>>>   location.reload();
>>> }, 60 * 1000);
>>>
>>>
>>> --
>>> Shree Kant Bohra
>>> Co-founder 
>>> Geekybuddha Technologies
>>>
>>>
>>>
>>>
>>> On Sun, Nov 26, 2017 at 10:50 AM, Unnati C  wrote:
>>>
>> Thanks for suggestion Yingi Kem, But I am looking for any javascript or 
>>>> any other logical solution to refresh my web page automatically. 
>>>>
>>>> Unnati
>>>>
>>>> On Saturday, November 25, 2017 at 10:32:51 PM UTC+5:30, yingi keme 
>>>> wrote:
>>>>>
>>>>> You can use channels. Check out channels in django. It is a websocket 
>>>>> library and it will be useful for what you are looking for
>>>>>
>>>>> Yingi Kem
>>>>>
>>>>> On 25 Nov 2017, at 4:55 PM, Unnati C  wrote:
>>>>>
>>>>> Web page is about *displaying data from database*, Till now webpage 
>>>>> is displaying data, but if I want to see latest update* I have to 
>>>>> refresh page in browser.* Is their any *solution to auto reload page *so 
>>>>> user at end doesn't have to refresh it.
>>>>>
>>>>> -- 
>>>>> 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 django-users...@googlegroups.com.
>>>>> To post to this group, send email to django...@googlegroups.com.
>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>> -- 
>>>> 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 django-users...@googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/10a245b8-0a0b-49ce-97f5-47c799bfb4d1n%40googlegroups.com.


Re: Wants to make webpage auto reload whenever database is update.

2017-11-26 Thread Unnati C
it's working, Thanks...

On Sunday, November 26, 2017 at 11:24:39 AM UTC+5:30, Shree Kant Bohra 
wrote:
>
> Use this following code to reload page every few seconds as required - 
>
> 
> setTimeout(function () { 
>   location.reload();
> }, 60 * 1000);
>
>
> --
> Shree Kant Bohra
> Co-founder 
> Geekybuddha Technologies
>
>
>
>
> On Sun, Nov 26, 2017 at 10:50 AM, Unnati C <unnat...@gmail.com 
> > wrote:
>
>> Thanks for suggestion Yingi Kem, But I am looking for any javascript or 
>> any other logical solution to refresh my web page automatically. 
>>
>> Unnati
>>
>> On Saturday, November 25, 2017 at 10:32:51 PM UTC+5:30, yingi keme wrote:
>>>
>>> You can use channels. Check out channels in django. It is a websocket 
>>> library and it will be useful for what you are looking for
>>>
>>> Yingi Kem
>>>
>>> On 25 Nov 2017, at 4:55 PM, Unnati C <unnat...@gmail.com> wrote:
>>>
>>> Web page is about *displaying data from database*, Till now webpage is 
>>> displaying data, but if I want to see latest update* I have to refresh 
>>> page in browser.* Is their any *solution to auto reload page *so user 
>>> at end doesn't have to refresh it.
>>>
>>> -- 
>>> 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 django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
>> 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 django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a3f43eff-e610-4b00-9848-0bf85584d8a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Wants to make webpage auto reload whenever database is update.

2017-11-26 Thread Unnati C
I will try this.

On Sunday, November 26, 2017 at 2:31:43 PM UTC+5:30, Jani Tiainen wrote:
>
> Hi.
>
> You probably could use ajax to poll data and only update visual parts 
> instead of reloading whole page. 
>
> 26.11.2017 7.21 "Unnati C" <unnat...@gmail.com > kirjoitti:
>
>> Thanks for suggestion Yingi Kem, But I am looking for any javascript or 
>> any other logical solution to refresh my web page automatically. 
>>
>> Unnati
>>
>> On Saturday, November 25, 2017 at 10:32:51 PM UTC+5:30, yingi keme wrote:
>>>
>>> You can use channels. Check out channels in django. It is a websocket 
>>> library and it will be useful for what you are looking for
>>>
>>> Yingi Kem
>>>
>>> On 25 Nov 2017, at 4:55 PM, Unnati C <unnat...@gmail.com> wrote:
>>>
>>> Web page is about *displaying data from database*, Till now webpage is 
>>> displaying data, but if I want to see latest update* I have to refresh 
>>> page in browser.* Is their any *solution to auto reload page *so user 
>>> at end doesn't have to refresh it.
>>>
>>> -- 
>>> 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 django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
>> 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 django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/513cf57e-0113-45ad-9bfd-5536b489e282%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Wants to make webpage auto reload whenever database is update.

2017-11-25 Thread Unnati C
Thanks for suggestion Yingi Kem, But I am looking for any javascript or any 
other logical solution to refresh my web page automatically. 

Unnati

On Saturday, November 25, 2017 at 10:32:51 PM UTC+5:30, yingi keme wrote:
>
> You can use channels. Check out channels in django. It is a websocket 
> library and it will be useful for what you are looking for
>
> Yingi Kem
>
> On 25 Nov 2017, at 4:55 PM, Unnati C <unnat...@gmail.com > 
> wrote:
>
> Web page is about *displaying data from database*, Till now webpage is 
> displaying data, but if I want to see latest update* I have to refresh 
> page in browser.* Is their any *solution to auto reload page *so user at 
> end doesn't have to refresh it.
>
> -- 
> 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 django-users...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1953d398-f31d-4bdd-b776-bcab0391afac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Wants to make webpage auto reload whenever database is update.

2017-11-25 Thread Unnati C
Web page is about *displaying data from database*, Till now webpage is 
displaying data, but if I want to see latest update* I have to refresh page 
in browser.* Is their any *solution to auto reload page *so user at end 
doesn't have to refresh it.

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a7a12b04-bec0-4d08-aaf9-e7b3b4d6a117%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Blue colored python file in Django Project structure.

2017-11-24 Thread Unnati C
Yup, This is pycharm IDE, and thanks for guidlines.

On Friday, November 24, 2017 at 10:53:40 PM UTC+5:30, Dylan Reinhold wrote:
>
> This has nothing to do with django or python. This is your IDE using 
> colors to give you status information. Looking like you are using pycharm. 
> By default (which you can change) blue just means the file has been updated.
> https://www.jetbrains.com/help/pycharm/file-status-highlights.html
>
> Dylan
>
> On Fri, Nov 24, 2017 at 9:14 AM, Unnati C <unnat...@gmail.com 
> > wrote:
>
>> hello,
>>
>> While working on Django project, suddenly one of my python file name in 
>> structure changed to blue. Till now it does not raise any error, but I am 
>> shock why it happened. 
>> Is anybody have idea regarding this change in django project directory.. 
>>
>> -- 
>> 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 django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/b92ae807-4561-4dd8-a372-f7b41a31bb11%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/b92ae807-4561-4dd8-a372-f7b41a31bb11%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d19b00b1-48c7-4232-af4b-16fa3b1b9c0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Blue colored python file in Django Project structure.

2017-11-24 Thread Unnati C
hello,

While working on Django project, suddenly one of my python file name in 
structure changed to blue. Till now it does not raise any error, but I am 
shock why it happened. 
Is anybody have idea regarding this change in django project directory.. 

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b92ae807-4561-4dd8-a372-f7b41a31bb11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.