mirror of
https://github.com/correl/codereview.git
synced 2025-04-13 01:01:01 -09:00
8 lines
228 B
Python
8 lines
228 B
Python
from haystack.indexes import *
|
|
from haystack import site
|
|
from codereview.dashboard.models import Commit
|
|
|
|
class CommitIndex(SearchIndex):
|
|
text = CharField(document=True, use_template=True)
|
|
|
|
site.register(Commit, CommitIndex)
|