﻿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
6389	Admin panel and url handling as Primary Key	guruyaya	nobody	"The admin panel cannot get a url as a primary key of a model.
I can actually understand why this happens, and that makes me more
thrilled to help. Take this model for example:
class Url(models.Model):
   url = models.CharField(max_length=600, primary_key=True)
   rate = models.IntegerField(null=True, blank=True)
   class Admin:
      pass

in the case Url.url=http://yahoo.com' (had to add slashes to avoid
being marked as a spammer on the ticket system, but the point should
be understood
As the primary key is a url, the relational link inside the admin
panel, becomes absolute. I cannot use the admin panel to rate it.
What do you think of that? "		closed	contrib.admin	dev		invalid	security		Unreviewed	0	0	0	0	0	0
