Skip to content

Commit 9383474

Browse files
committed
Remove restriction of field lookup
1 parent 86d19f7 commit 9383474

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

esp/esp/program/admin.py

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ class RegistrationProfileAdmin(admin.ModelAdmin):
7979
'contact_emergency__first_name', 'contact_emergency__last_name']
8080
list_filter = ('program', )
8181
date_hierarchy = 'last_ts'
82+
83+
def lookup_allowed(self, key, value):
84+
return True
85+
8286
admin_site.register(RegistrationProfile, RegistrationProfileAdmin)
8387

8488
class TeacherBioAdmin(admin.ModelAdmin):

0 commit comments

Comments
 (0)