3 ms·
> This is an error that should probably have been caught just based upon the color of the text when it was typed/pasted into the source code. Of the uuid() call
by thaumasiotes 2y ago
> This is an error that should probably have been caught just based upon the color of the text when it was typed/pasted into the source code. Of the uuid() call was in quotes, it would have appeared as text.
It's not in quotes. It's a function call.
The issue is that the function call happens once, when you define the class, rather than happening each time you instantiate the class.
- mbreese 2y agoYou’re right… I was remembering it as a `server_default` attribute. Those were quoted in the other lines, but this wouldn’t have been.