changed company.city to charfield
This commit is contained in:
@@ -66,7 +66,7 @@ class Command(BaseCommand):
|
||||
response = requests.get(self.logo_url)
|
||||
if response.status_code == 200:
|
||||
response.raw.decode_content = True
|
||||
image = response.raw
|
||||
image = response.raw.read()
|
||||
else:
|
||||
logging.warning(f"Got {response.status_code} querying {self.logo_url}")
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user