git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First attempts at a get_favored_results method to find what people are generally...
[philo.git]
/
contrib
/
sobol
/
admin.py
diff --git
a/contrib/sobol/admin.py
b/contrib/sobol/admin.py
index
eb6fd03
..
5407796
100644
(file)
--- a/
contrib/sobol/admin.py
+++ b/
contrib/sobol/admin.py
@@
-33,7
+33,8
@@
class SearchAdmin(admin.ModelAdmin):
class SearchViewAdmin(EntityAdmin):
class SearchViewAdmin(EntityAdmin):
- pass
+ raw_id_fields = ('results_page',)
+ related_lookup_fields = {'fk': raw_id_fields}
admin.site.register(Search, SearchAdmin)
admin.site.register(Search, SearchAdmin)