<filename>search/models/proxy_models.py
from common.models import AllegationCategory, Allegation


class AllegationCategoryProxy(AllegationCategory):
    '''Proxy model for elasticsearch index'''
    class Meta:
        proxy = True


class AllegationProxy(Allegation):
    '''Proxy model for elasticsearch index'''
    class Meta:
        proxy = True

<filename>search/models/proxy_models.py
from common.models import AllegationCategory, Allegation


class AllegationCategoryProxy(AllegationCategory):
    '''Proxy model for elasticsearch index'''
    class Meta:
        proxy = True


class AllegationProxy(Allegation):
    '''Proxy model for elasticsearch index'''
    class Meta:
        proxy = True

Proxy model for elasticsearch index Proxy model for elasticsearch index