Hi, On 26.11.2008 10:32 Uhr, Seth Kaïne wrote: > I'm learning about ORM, but it's not easy to understand the whole > picture. > I'm trying to create a "function" or a "filter" linked to my models.py > or to PHPmyAdmin to give me a signal when something is changing. > I'm making reseachs on signal on django, perhaps a solution to > explore. > > If you change data using PHPMyAdmin the Django ORM will never notice the change and I don't see a way of having PHPMyAdmin notify Django of a change. Also I don't see a need for that. If you change a database record in PHPMyAdmin. The next time someone loads a Django view the ORM will automatically fetch the record from the database and retrieves the new data.
Signals are, for example, used when the Django ORM changes something in the database. A signal can then notify a django specific listener (method). It can't tell PHPMyAdmin that something has changed. > If you have other informations about ORM or a way to bind the whole > thing together. > You won't be able to bind PHPMyAdmin with the Django ORM, the two things have nothing to do with one another. adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer web: http://www.sieker.info/profile SAP-Developer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---