I am working on an "Issues" application and I want to execute code to
send an e-mail to an assignee after an issue has been added. I saw
that there are signals I can intercept for pre- and post-save, but how
could I only limit to insert and not update events?
--~--~-~--~~
On Oct 13, 1:53 pm, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 13 oct, 18:11, Joe Sr <[EMAIL PROTECTED]> wrote:
>
> > I am working on an "Issues" application and I want to execute code to
> > send an e-mail to an assignee after an issue has been ad
I have been using this little trick to get a list of all my model
classes that are subclasses of Component:
component_list = []
for k in django.contrib.admin.site._registry:
if issubclass(k, Component):
component_list.append(k)
It works splendidly under the development server or usi
On Apr 10, 1:27 pm, Alex Gaynor wrote:
> On Fri, Apr 10, 2009 at 2:24 PM, Joe Sr. wrote:
>
> > I have been using this little trick to get a list of all my model
> > classes that are subclasses of Component:
>
> > component_list = []
>
> > for k in django.con
On Apr 10, 1:50 pm, Anthony wrote:
> Hi Everyone,
>
> This is really basic and I tried looking up this question since it
> can't be a new one, but the closest thread I found was this one:
>
> http://groups.google.com/group/django-users/browse_thread/
> thread/d2524403e13fcd22/515358199feebc68?lnk
5 matches
Mail list logo