10 lines
226 B
Python
10 lines
226 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class BooksConfig(AppConfig):
|
|
name = 'books'
|
|
|
|
def ready(self):
|
|
from common.index import Indexer
|
|
from .models import Book
|
|
Indexer.update_model_indexable(Book)
|