mixed-case file names

Issue #1125 resolved
Former user created an issue

I noticed that there are some files named with mixed case (e.g., "_ContactInfoForm_billing.html") and would like to propose that only lower-case be used (e.g., "_contact_info_form_billing.html") in order to avoid problems with case-insensitive platforms. I ran into the case-folding problem on Windows with mercurial the other day, and it was a bit of a nuisance.

Just a suggestion.

Comments (5)

  1. Anonymous
    • changed status to open

    I think it's a good idea, especially when there's more than one contributor, to use a style guide. And in this case it wouldn't be unreasonable to use the Python Style Guide. I realize a template is not a module, but a name like "_contact_info_form.html" would avoid any potential platform change problems and is still readable. Also, there are other included templates in Satchmo that use the "_file_name.html" format, and consistency is a good thing.

  2. Log in to comment