merged
This commit is contained in:
commit
4b460e81f0
|
@ -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:
|
||||
if c.model_class() is not None and isinstance(c.model_class(), ItfModel):
|
||||
return c
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user