Hi,
Though there is a section in the FAQ converning diangos MVC philosphy im still confused. My model is manipulated while my application runs. So how do i manipulate the model from external? Ive written a stop/ wait protocol in python which communicates with the microcontroller that manipulates the data. Wherefrom do i start the protocol-threads? views.py? i give u an easy example of what i want to do: there are 5 LEDs and 5 switches connected by a fieldbus, controlled my a microcontroller (busmaster). the controller is connected by rs232 to the webserver. A database holds the states of the LEDs. There is a template with 5 imgs, one for each LED. Imgs can be yellow (LED on) or grey (LED off). If i click a img, webserver informs microcontroller, LED is toggled. What im looking for is a place from where i can manage the model, communicate with the microcontroller,... According to the faq, views.py would be right place!? Do i really have to start the protocol-threads (2 for communication, 1 to put data in/out database) like this: views.py: def some-url(request): if my-threads-are-not-running: start-my-threads so every client first has to request this url, to ensure the protocol running....? Or is there another way? (I do not want to put all this outside of django.) thank you for every hint :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---