Re: Incorporating new function in web Administration Django

2006-08-28 Thread Henhiskan
thanks, that help me a lot :) --~--~-~--~~~---~--~~ 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 [E

Re: Incorporating new function in web Administration Django

2006-08-28 Thread Sean
Try overriding the save method in your model as documented here: http://www.djangoproject.com/documentation/model_api/#overriding-default-model-methods If you only want to create the directory when a new entry is made try something like this: def save(self): # check if we are updating o

Incorporating new function in web Administration Django

2006-08-28 Thread Henhiskan
Hi fellows, I have been using Django administration via Web to manage my application, but now need one more functionality, i.e., when I save a new register the application should be creates, for example,a new directory tree (/var/newregister/). Where can I add this feature?. I have used postgr