Merge pull request #3647 from InspectorCaracal/patch-34
Properly reinitialize contents cache
This commit is contained in:
commit
17448dd618
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ class ContentsHandler:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
objects = self.load()
|
objects = self.load()
|
||||||
|
self._typecache = defaultdict(dict)
|
||||||
self._pkcache = {obj.pk: True for obj in objects}
|
self._pkcache = {obj.pk: True for obj in objects}
|
||||||
for obj in objects:
|
for obj in objects:
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue