Source

django / tests / regressiontests / admin_widgets / widgetadmin.py

The default branch has multiple heads

Diff from to

File tests/regressiontests/admin_widgets/widgetadmin.py

 
 class AlbumAdmin(admin.ModelAdmin):
     autocomplete_fields = {
-        'band': { 'fields': ('name',), 'id': 'pk' }
+        'band': { 'fields': ('name',) }
             }
 
 site = WidgetAdmin(name='widget-admin')