mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Added some Selenium tests for the admin raw id widget.
This commit is contained in:
parent
1593a86494
commit
995ffbb2a6
3 changed files with 103 additions and 9 deletions
|
@ -18,7 +18,7 @@ class CarTireAdmin(admin.ModelAdmin):
|
|||
return super(CarTireAdmin, self).formfield_for_foreignkey(db_field, request, **kwargs)
|
||||
|
||||
class EventAdmin(admin.ModelAdmin):
|
||||
raw_id_fields = ['band']
|
||||
raw_id_fields = ['main_band', 'supporting_bands']
|
||||
|
||||
|
||||
class SchoolAdmin(admin.ModelAdmin):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue