Separate between words in Django commands and methods

46 views
Skip to first unread message

אורי

unread,
Dec 27, 2021, 12:00:41 PM12/27/21
to Django developers (Contributions to Django itself)
Hi,

Please check this new ticket I created today:

I think Django commands should separate words by underscores, like function names and variables names in Python, according to PEP 8.

This is also relevant to TestCase methods such as setUp and tearDownClass. Although there I assume Django inherits them from Python the language, and maybe the changes should be done also there.

By the way, I already defined a few such commands in Speedy Net since 2019:
https://github.com/speedy-net/speedy-net/tree/master/speedy/core/base/management/commands

Thanks,
Uri.
Reply all
Reply to author
Forward
0 new messages