Django root directory files security

Here is issue when i access **domainname.com/myfile.txt** it shows data also **domainname.com/myapp/views.py** this also accessed which is security issue. any one can solve

You’re going to need to provide more details here about what you’re doing and the errors you are receiving. You’ll also need to provide a description of your deployment environment, and the configuration settings you’re using for your web server.

Issue is solved in cpanel files should be 0600 permission and directories should be 0700 permission