rename Discount.validProducts to Discount.valid_products

Create issue
Issue #663 duplicate
Former user created an issue

All Manty-To=Many field members I have seen in the models of Satchmo are using lowercases and underscores. Only Discount.validProducts seems to be an exception.

Why this can give problems? In MySQL one can force lowercases using the --lower-case-table-names option:

So, it would be great that the naming is consequent, so it, as added bonus, works with the MySQL option for lower casing table names.

It doesn't change anything for the other DBMS that an be used.

Reported by geertjanvdk

Comments (1)

  1. Log in to comment