Hi list,

I'm testing Django for a few days now and I have 2 questions.

I created for my tests a simple chat integrated in a base page (one template for the main page, and one for the chat).

I need to update the chat when an event come but :

1.
If I update my chat sub page, inputs are reset (seems logic since html is recreated).
Then what would be the good / best method to update only the chat content ?
(I have 2 ideas but they don't seems very Django'ic)

2.
For now, I update the content every XX ms with a periodic request client side. Would it be possible / preferable to have a push from server when new data comes or is there a better way to update this kind of content ?


Thanks for reading

--
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to