Should return the ``Model`` class (not an instance) that the rest of the ``SearchIndex`` should use. This method is required & you must override it to return the correct class.
(self)
| 132 | ) |
| 133 | |
| 134 | def get_model(self): |
| 135 | """ |
| 136 | Should return the ``Model`` class (not an instance) that the rest of the |
| 137 | ``SearchIndex`` should use. |
| 138 | |
| 139 | This method is required & you must override it to return the correct class. |
| 140 | """ |
| 141 | raise NotImplementedError( |
| 142 | "You must provide a 'get_model' method for the '%r' index." % self |
| 143 | ) |
| 144 | |
| 145 | def index_queryset(self, using=None): |
| 146 | """ |
no outgoing calls
no test coverage detected