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 1375 Escape primary_key values in admin interface Malcolm Tredinnick yk4ever "There is a subtle trap when using the primary_key attribute in a model: if it turns out to be a fully qualified URL (including a schema), then you cannot edit the object through the admin interface. I do not think it is worth trying to work around this in the model API, but we should document the problem. The attached patch is for model-api.txt to do just that." defect closed contrib.admin normal invalid string primary_key underscore Accepted 0 0 0 1 0 0