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 16485 Admin URL bug with CharField primary keys Simon Bächler nobody "I have the following primary key field: {{{ id = models.CharField(_('id'), max_length=40, primary_key=True) }}} The value is: 126130274108967_190034094385251 (a Facebook post id) The admin interface change list correctly shows that id. But the url of the item is 126130274108967_5F190034094385251/ notice the _5F... in the middle. This causes a 404 every time I create a new entry. Regards Simon" Bug closed contrib.admin 1.3 Normal worksforme admin primary_key Design decision needed 0 0 0 0 0 0