Refactored weight code to split the work over Search, ResultURL, and Click models...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Tue, 1 Mar 2011 22:25:45 +0000 (17:25 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Tue, 1 Mar 2011 22:28:15 +0000 (17:28 -0500)
commit55a07da1814663143cc32628edad0b4f4edb752d
tree194ab396c284b70f99a750af94af7bbdf08d6fb0
parent6dd799c2b33380332f09c3865a6185bdbbd48e93
Refactored weight code to split the work over Search, ResultURL, and Click models. This is probably somewhat less efficient, but it makes more intuitive sense. It also allows for weight caching on instances. Initial work on a results action/view for the SearchAdmin. Set SearchView to have SearchForm set as an attribute on itself rather than blindly using it.
contrib/sobol/admin.py
contrib/sobol/models.py
contrib/sobol/templates/admin/sobol/search/grappelli_results.html [new file with mode: 0644]
contrib/sobol/templates/admin/sobol/search/results.html [new file with mode: 0644]