X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/62a418ca34a8d4e8323e1c998c21b5e957739fd9..6dd799c2b33380332f09c3865a6185bdbbd48e93:/contrib/sobol/admin.py?ds=sidebyside diff --git a/contrib/sobol/admin.py b/contrib/sobol/admin.py index eb6fd03..5407796 100644 --- a/contrib/sobol/admin.py +++ b/contrib/sobol/admin.py @@ -33,7 +33,8 @@ class SearchAdmin(admin.ModelAdmin): class SearchViewAdmin(EntityAdmin): - pass + raw_id_fields = ('results_page',) + related_lookup_fields = {'fk': raw_id_fields} admin.site.register(Search, SearchAdmin)