Nevermind…
I was using self.stdout(f’’)
Instead of
self.stdout.write(f’’)
Go figure…
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Matthew Pava
Sent: Monday, May 21, 2018 9:21 AM
To: django-users@googlegroups.com
Subject: f-strings with self.stdout
I was using Python 3's f-strings with self.stdout in a BaseCommand.
I keep getting this exception:
TypeError: 'OutputWrapper' object is not callable
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and s
2 matches
Mail list logo