More boilerplate, less confusion, more harmony.

60 views
Skip to first unread message

Jet Ezra

unread,
Sep 19, 2021, 2:50:12 AM9/19/21
to Django developers (Contributions to Django itself)
Hello, if this was already discussed before, let me know otherwise, I have experienced a problem formally faced with other languages where everyone has their own of naming their application.

By default creating a django creates a boilerplate that includes apps.py, admin.py, models.py, views.py and the rest but leaving out forms.py, signals.py, urls.py and modules.py but most developers endup creating these files for their specific uses.
The problem comes in only one instance where someone names these differently from the convetional way, and it becomes hard to traceback their source code.

I suggest they be added with some little docstring for begginers to know what can be done in these files just like in the main urls.py of the project.

thank you.
Reply all
Reply to author
Forward
0 new messages