try again
This commit is contained in:
parent
6965205f2c
commit
003161a216
|
@ -24,7 +24,7 @@ def splitSearch(string):
|
||||||
def get_real_ctype(module_name):
|
def get_real_ctype(module_name):
|
||||||
for c in ContentType.objects.filter(model=module_name):
|
for c in ContentType.objects.filter(model=module_name):
|
||||||
try:
|
try:
|
||||||
if c.model_class() is not None and isinstance(c.model_class(), ItfModel):
|
if c.model_class() is not None and c.is_itf_model:
|
||||||
return c
|
return c
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
<li id="loadingList" style="display:none;">Loading...</li>
|
<li id="loadingList" style="display:none;">Loading...</li>
|
||||||
|
|
||||||
{% for l in object_list.items %}
|
{% for l in object_list.items %}
|
||||||
<li class="tabListItem"><a href="{{ l.url }}" {% ifequal l.id item.id %} class="listLeftSelected" {% endifequal %} data-id="{{ l.id }}""><span>{{ l.title }}</span></a></li>
|
<li class="tabListItem"><a href="{{ l.url }}" {% ifequal l.id item.id %} class="listLeftSelected" {% endifequal %} data-id="{{ l.id }}"><span>{{ l.title }}</span></a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- <li><a href=""><span>The Mystery of vanishing rights<span></a></li> -->
|
<!-- <li><a href=""><span>The Mystery of vanishing rights<span></a></li> -->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user