3 points · by mace · 17y ago · 1 comment
class Format(models.Model): type = models.CharField(choices=...
type() is a Python function, so it doesn't make sense to use "type" as a field name. I found out the hard way that this causes bugs.
Technologies - IBM Developer
The technologies used to build or run their apps
IBM Developer