﻿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
16542	Admin Raw ID widgets can show broken magnifying glass link	Ramiro Morales	Ramiro Morales	"This can happen when the related model isn't registered with the same admin site.

Ideally these widgets should behave in a way consistent with the regular non-raw ID admin widgets in this regard.

Example:

{{{#!python
# models.py

from django.db import models

class Honeycomb(models.Model):
    location = models.CharField(max_length=20)

class Bee(models.Model):
    honeycomb = models.ForeignKey(Honeycomb)
}}}

{{{#!python
# admin.py

from django.contrib import admin

import models

class BeeAdmin(admin.ModelAdmin):                                                                                                                                            
    raw_id_fields = ('honeycomb',) 

admin.site.register(models.Bee)
}}}

Try to add a Bee instance, in the add view click in the magnifying glass besides the 'Honeycomb' field, this leads to a 404 error.
"	Bug	closed	contrib.admin	dev	Normal	fixed			Accepted	1	0	0	0	0	0
