Thank you Matthew. Excellent advise as always. When I started off with this
project 5 months ago, I was a beginner to both django and python. I've come
a bit along the journey. That customer model is the first model I created,
and I was unaware of these conventions. By the time I realized that,
It was a little difficult to follow your message because the formatting is
non-standard, but I think this might be what you’re looking for.
Also, you should try to follow more Python coding conventions: models start
with an upper case letter. Variables start with a lower case letter.
And you
2 matches
Mail list logo