l187 if website_id:
I don't think that it is possible to have a website_id which is 0, but if it could be the case we would preferably test if website is not None:
If a website_id could be 0, in that case, website_id is at first a string before we cast it to int.
It could be '0' but not 0
l187 if website_id:
I don't think that it is possible to have a website_id which is 0, but if it could be the case we would preferably test if website is not None:
If a website_id could be 0, in that case, website_id is at first a string before we cast it to int.
It could be '0' but not 0
Seems fine to me like that
I will fix the rest ASAP