?
>
>
> On Sunday, August 19, 2018 at 6:15:44 PM UTC-4, Marcus Grass wrote:
>>
>> Hi, I ran into a strange problem when i switched from using mysqlclient to
>> mysql-connector/python.
>>
>> In practice:
>> class Foo(models.Model):
>> bar = model
Hi, I ran into a strange problem when i switched from using mysqlclient to
mysql-connector/python.
In practice:
class Foo(models.Model):
bar = models.IntegerField(default=0, null=False)
queryset = Foo.objects.all().filter(bar=0)
print(queryset[0].bar) # prints None
Anyone know a fix for thi
2 matches
Mail list logo