﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
1113	OneToOneField with limit_choices_to breaks ChangeList	Nebojša Đorđević - nesh <nesh@…>	Adrian Holovaty	"When I use OneToOneField in the model with limit_choices_to change list in admin breaks with:
{{{
got unexpected keyword argument 'category__type__exact'
}}}

where {{{category__type__exact}}} is limit_choices_to argument.

Problem seems to go away when I comment-out following lines in admin/views/main.py (from line 229):
{{{
#!python
        if opts.one_to_one_field:
            lookup_params.update(opts.one_to_one_field.rel.limit_choices_to)
}}}

Bug or feature? :)"	defect	closed	contrib.admin		normal	fixed		nesh@…	Unreviewed	0	0	0	0	0	0
