Re: Implementing a new idea

2008-06-19 Thread phillc
models.Model.save(self) super(ProjectModification, self).save() On Jun 19, 1:41 pm, Adam Fraser <[EMAIL PROTECTED]> wrote: > Signalling worked out for me but it turned out to be more complex than > it needed to be.  Here are some references in case anyone is looking: > >

Re: Implementing a new idea

2008-06-19 Thread Adam Fraser
Signalling worked out for me but it turned out to be more complex than it needed to be. Here are some references in case anyone is looking: http://www.chrisdpratt.com/2008/02/16/signals-in-django-stuff-thats-not-documented-well/ http://code.djangoproject.com/wiki/Signals In the end, I simply

Re: Implementing a new idea

2008-06-18 Thread Adam Fraser
I didn't, but you can bet I will now. Thanks for the lead! -Adam On Jun 17, 4:22 pm, Dan <[EMAIL PROTECTED]> wrote: > Did you take a look at Django Signals? You can intercept pre-save and > post-save objects with them. You can use that to grab the data you > want and fill your

Re: Implementing a new idea

2008-06-17 Thread Dan
Did you take a look at Django Signals? You can intercept pre-save and post-save objects with them. You can use that to grab the data you want and fill your ProjectModification object. I don't know if there is a way you could tell if it was done in the admin or not though...

Implementing a new idea

2008-06-17 Thread Adam Fraser
Hello, I am currently using Django to keep track of "Timecards" submitted towards work on different "Projects". What I would like to do, is to track when "Modifications" are made on projects (via the project admin page). (I'm quoting words that are represented literally in the data model.)