Am Freitag 28 Mai 2010, 14:43:21 schrieb Daniel Roseman:
> On May 28, 1:33 pm, Dirk Eschler <[email protected]> wrote:
> > how to fetch the DoesNotExist exception generated by
> > get_object_for_this_type? Being generic i can't use the actual model.
[...]
> The DoesNotExist exceptions for each model are subclasses of
> django.core.exceptions.ObjectDoesNotExist - you can catch that
> instead.

Hello Daniel,

good point. Thanks alot.

Best Regards,
Dirk Eschler

-- 
Dirk Eschler <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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