2011/6/24 Bussiere <bussi...@gmail.com> > 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 django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > 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 django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.