﻿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
14071	Row duplicated when modifying PK	mnbayazit	nobody	"Create a model and add a field with primary_key=True
Go into the django admin panel and change this primary key.
A new entry is added with the new PK, but the old one remains as well.

Sample model:

	class FlatPage(Model):
	    title = CharField(max_length=50)
	    key = SlugField(max_length=50, primary_key=True, help_text=""Do not change."")
	    content = TextField()
	    created = DateTimeField(auto_now_add=True)
	    updated = DateTimeField(auto_now=True)
	    def __unicode__(self):
		return self.title
	    class Meta:
		app_label = 'app'"	Bug	closed	contrib.admin	1.2	Normal	wontfix		jedie	Unreviewed	0	0	0	0	0	0
