On 7/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm currently creating models (quite a bit of them) using Django and I
> find it hard to "debug" them. "./manage.py validate" usually returns
> errors with no context nor line numbers, and sometimes the error comes
> from an import and is wrongly attributed to the including file rather
> that the included one.
>
> Is there a better way to debug/compile models and am I missing
> something ?

No - this is one area where Django could certainly be improved.

The only suggestion I can give you on hunting down errors of this kind
is to fire up the ./manage.py shell, and try manually importing the
module that appears to be generating the error. This should give you
the full stack trace, and give a slightly better indication of the
source of the problem.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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