Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 March 10, 2008 12:43:45

Monica L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Checking exceptions


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

Offline

#2 March 10, 2008 14:17:45

Michael N.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Checking exceptions


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" <> 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
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en-~----------~----~----~----~------~----~------~--~---

Offline

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support