>
> Well, I am sorry... after reading my post again, I found that it
> sounded a bit harsh. Anyway, the question I refered to is the subject
> of the discussion which can be paraphrased: "can I get some kind of
> notification when an object is deleted?" After reading all the
>
arsh. Anyway, the question I refered to is the subject
of the discussion which can be paraphrased: "can I get some kind of
notification when an object is deleted?" After reading all the
responses it seems that I can't, and that I will need to create the
custom view. I was just hoping t
Ian Clelland wrote:
> I would have thought that this would have been automatic -- normally
> Django does a good job of telling me, when I delete an object, about
> any other objects related to it which will also be deleted.
Ok, I am sorry, but I am still confused! :(
First, I am using sqlite...
On 8/17/06, medhat <[EMAIL PROTECTED]> wrote:
> A ticket system where users can create tickets. A ticket object has a
> foreign key field to a user object. I would like to delete all the
> tickets created by a user if that user is deleted. Is there a way to do
> this *without* changing the user
On 8/17/06, medhat <[EMAIL PROTECTED]> wrote:
> A ticket system where users can create tickets. A ticket object has a
> foreign key field to a user object. I would like to delete all the
> tickets created by a user if that user is deleted. Is there a way to do
> this *without* changing the user
Joe wrote:
> You could write a database trigger and bypass Django entirely.
but I would like to keep it all in python. first, I am not an sql
expert, and second I don't want to worry about the different possible
backends.
--~--~-~--~~~---~--~~
You received this
You could write a database trigger and bypass Django entirely.
--~--~-~--~~~---~--~~
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
Hi,
I have the following scenario:
A ticket system where users can create tickets. A ticket object has a
foreign key field to a user object. I would like to delete all the
tickets created by a user if that user is deleted. Is there a way to do
this *without* changing the user model?
--
8 matches
Mail list logo