[Django]-Can I safely delete Django's empty __init__ files?

5👍

Basically the __init__.py file makes Python treat directories containing it as modules.

So by deleting that file Django doesn’t treat it as a module and it will stop working.

So it is bad idea to delete those files.

Leave a comment