Skip to content

Fix contradictory model method naming conventions in example#76

Open
d57montes wants to merge 1 commit into
octoenergy:masterfrom
d57montes:d57montes-patch-1
Open

Fix contradictory model method naming conventions in example#76
d57montes wants to merge 1 commit into
octoenergy:masterfrom
d57montes:d57montes-patch-1

Conversation

@d57montes
Copy link
Copy Markdown

In python.md, Model method naming conventions states
"For query methods (ie methods that look something up and return it), prefix with get_.
For setter methods (ie methods that set fields and call save), prefix with set_."
However, an example in Group methods and properties on models does not use these conventions. This edit corrects the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant