(self)
| 383 | return obj |
| 384 | |
| 385 | def __getstate__(self): |
| 386 | # Force the cache to be fully populated. |
| 387 | self._fetch_all() |
| 388 | return {**self.__dict__, DJANGO_VERSION_PICKLE_KEY: django.__version__} |
| 389 | |
| 390 | def __setstate__(self, state): |
| 391 | pickled_version = state.get(DJANGO_VERSION_PICKLE_KEY) |
nothing calls this directly
no test coverage detected