File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 11
11
from django .core .files .storage import get_storage_class
12
12
from django .db import models
13
13
from django .urls import NoReverseMatch , reverse
14
- from django .utils .functional import cached_property
15
14
from django .utils .translation import ugettext_lazy as _
16
15
from django_extensions .db .models import TimeStampedModel
17
16
from guardian .shortcuts import assign
@@ -1143,15 +1142,14 @@ class Meta(object):
1143
1142
1144
1143
objects = HTMLFileManager ()
1145
1144
1146
-
1147
1145
def get_processed_json (self ):
1148
1146
"""
1149
1147
Get the parsed JSON for search indexing.
1150
1148
1151
1149
Check for two paths for each index file
1152
1150
This is because HTMLDir can generate a file from two different places:
1153
1151
1154
- * foo.rst
1152
+ * foo.rst
1155
1153
* foo/index.rst
1156
1154
1157
1155
Both lead to `foo/index.html`
You can’t perform that action at this time.
0 commit comments