Saturday, September 25, 2010

Re: How to debug ORM filter stacking?

Dnia 25-09-2010 o 06:17:10 ydjango <neerashish@gmail.com> napisał(a):

> I am stacking filters on queryset. For some reason the second filter
> in stack is not applying and it is not giving any error either. Any
> way to debug what is going on?
>
python manage.py shell

Import ur model, and build ur queries live. ipython has neat autoompletion
feature. You might be able to figure out why it is working like it is.

--
Linux user

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment