﻿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
22640	Can create model instance with conflicting args and kwargs value for the same field	Peter Zsoldos	Jacob Walls	"Discovered while working on #18586

To reproduce it, add the following test (it's using tests.basic.models.Article)
{{{#!python
    from django.utils import six
    def test_cannot_specify_same_field_with_args_and_kwargs_too(self):
        six.assertRaisesRegex(
            self,
            TypeError,
            ""__init__() got multiple values for argument 'headline'"",
            Article,
            None, # id
            'args based headline',
            headline='kwargs based headline',
            pub_date=datetime(2005, 7, 31),
        )
}}}"	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
