Re: How to do some additional process while saving a django flatpage

2011-11-27 Thread Swaroop Shankar V
Well Daniel, I tried this but i am not able to see the function being called while saving any flatpage page. Is it possible to give me a step by step instruction on how to achieve the same? I read through the signals documents but i am kind of confused on where to include the signal related stateme

Re: How to do some additional process while saving a django flatpage

2011-10-03 Thread Swaroop Shankar V
Thanks a lot Daniel, I guess this is exactly what I require. Will check it and revert back. Thanks and Regards, Swaroop Shankar V On Mon, Oct 3, 2011 at 4:21 PM, Daniel Roseman wrote: > On Sunday, 2 October 2011 15:03:12 UTC+1, Swaroop Shankar wrote: >> >> Hi, >> I am trying to build a menu sy

Re: How to do some additional process while saving a django flatpage

2011-10-03 Thread Daniel Roseman
On Sunday, 2 October 2011 15:03:12 UTC+1, Swaroop Shankar wrote: > > Hi, > I am trying to build a menu system which can be controlled at the admin > area. For the content management purpose i am using django flatpage. So when > a page is getting saved i need to insert the page title and url in th

Re: How to do some additional process while saving a django flatpage

2011-10-03 Thread Swaroop Shankar V
Hello Phang, Thanks for your reply. Well the requirement is like when ever a page is created i want to save an entry into the menu table to. This is to be an automatic process. If i understand correctly, the method you suggested will require a manual process or a cron running to fetch the data fro

Re: How to do some additional process while saving a django flatpage

2011-10-03 Thread Phang Mulianto
why not query your flatpage db and use the field for the menu in ur table.. flatpage have url and title.. get url n title and put in your menu template..no need signaling can add cache to as the flatpage not modified to often.. On Oct 2, 2011 10:03 PM, "Swaroop Shankar V" wrote: > Hi, > I am

How to do some additional process while saving a django flatpage

2011-10-02 Thread Swaroop Shankar V
Hi, I am trying to build a menu system which can be controlled at the admin area. For the content management purpose i am using django flatpage. So when a page is getting saved i need to insert the page title and url in the menu table i have created. So i guess a flatpage signal is the best way to