Skip to content
Snippets Groups Projects
Commit 041dcb99 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Move search index from chronos

parent ba7f6aa5
No related branches found
No related tags found
1 merge request!1113Resolve "[3.0] Move Room from Chronos to Core"
from .models import Group, Person
from .models import Group, Person, Room
from .util.search import Indexable, SearchIndex
......@@ -12,3 +12,9 @@ class GroupIndex(SearchIndex, Indexable):
"""Haystack index for searching groups."""
model = Group
class RoomIndex(SearchIndex, Indexable):
"""Haystack index for searching rooms."""
model = Room
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment