Unexplicit 400 Bad Request even with DEBUG=True

328 views
Skip to first unread message

Benjamin Toueg

unread,
Nov 5, 2013, 11:00:51 AM11/5/13
to django-d...@googlegroups.com
Hi,

I am using django 1.6rc1. and it seems that raising DisallowedModelAdminLookup in django/contrib/admin/views/main.py gives a very unexplicit 400 bad request, even in DEBUG=True.

I eventually found the source of the problem, by diving into the code and sumbling upon http://stackoverflow.com/questions/6441084/django-filtering-by-filter-not-allowed.

I guess it's not the expected behavior, that's why I'm here.

Should I file a ticket? Or is there something I did not understand?

Thanks,

Benjamin
Reply all
Reply to author
Forward
0 new messages