Monday, May 21, 2018

f-strings with self.stdout management commands

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?

 

No comments:

Post a Comment