Am 30.09.2008 um 20:21 schrieb Rajesh Dhawan:
>
> You are overriding __init__ but not making sure to call the base
> class's __init__ method which does a whole bunch of stuff whenever a
> new instance of a Model class is created. This is most definitely
> causing your problem. It's best not to overload it with your own
> __init__. A better option is to hook into the post_init signal with a
> custom method and in that method do your process() and
> make_thumbnail() calls.

Thanks, I will have a look on it.
>
>
> See:
> - http://docs.djangoproject.com/en/dev//topics/signals/
> - http://docs.djangoproject.com/en/dev/ref/signals/
>
>
> -RD
> >


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to