try again

This commit is contained in:
Sanjay B 2013-09-28 18:14:19 +05:30
parent 6965205f2c
commit 003161a216
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ def splitSearch(string):
def get_real_ctype(module_name):
for c in ContentType.objects.filter(model=module_name):
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
except:
pass

View File

@ -171,7 +171,7 @@
<li id="loadingList" style="display:none;">Loading...</li>
{% 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 %}
<!-- <li><a href=""><span>The Mystery of vanishing rights<span></a></li> -->