Thanks a lot i've watched the signals but this way is much much easier Thanks a lot Bussiere
"Les nouvelles technologies offrent pleins de nouvelles possibilités, pleins de possibilités d'erreurs surtout en fait." insurance.aes256 <http://goo.gl/gHyAY> : http://goo.gl/gHyAY On Fri, Jun 24, 2011 at 10:47 AM, Simone Dalla <[email protected]> wrote: > t > > 2011/6/24 Bussiere <[email protected]> > >> Hello, >> this is my first message here. >> I have a question : >> >> I have a actor object in my model, and a webpage in my model. >> >> And i want that when a user record an actor in the admin interface it >> create automatically a webpage associated wit(h the actor. >> I now how to create the webpage in my model, but i want to call a function >> each time someone record an actor in the administration menu. >> >> How to do that please ? >> >> Regards >> Bussiere >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/_RKcqS3uvZEJ. >> To post to this group, send email to [email protected]. >> 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. >> > > > https://docs.djangoproject.com/en/1.3/topics/db/models/#overriding-model-methods > > -- > Simo > > - Registered Linux User #395060 > > - Software is like sex, it is better when it is free --> Linus B. Torvalds > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > 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. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

