annotate gpp/search_sites.py @ 459:9d3bd7304050

Fixing #221. Also combined all permissions checks into a new module, permissions.py. This allows us to cache user, category, and forum groups information since it rarely changes.
author Brian Neal <bgneal@gmail.com>
date Sat, 02 Jul 2011 23:35:45 +0000
parents 26ee684c2033
children
rev   line source
bgneal@219 1 import haystack
bgneal@219 2 haystack.autodiscover()