errorTraceback (most recent call last): File "./imagefac/views.py", line 30, in ImageScale if host.find(domain) >=0: AttributeError: 'NoneType' object has no attribute 'find' url=xxx.jpg