Depends on the error...

Not to be flippant but there are a lot of exceptions that have to do
with the database, in genernal though I trust django enough not to
really worry about catching exceptions in my database models because
it already takes care of it for you.

If you are getting a specific exception do a try: ... except, e: print
e and that should tell you what exception is being raised.

Michael

On Mar 10, 7:43 am, "Monica Leko" <[EMAIL PROTECTED]> wrote:
> Hi!
>
> What type of exception do you usually check when developing with
> Django?  When you deleting, adding or updating database?
--~--~---------~--~----~------------~-------~--~----~
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