lamby / django-lint

Tool to lint Django applications and projects
http://chris-lamb.co.uk/projects/django-lint/
GNU General Public License v3.0
191 stars 30 forks source link

application's settings.py file problem #14

Closed gugu closed 4 years ago

gugu commented 11 years ago

Each application of the project can contain local settings.py file, which are not django settings. For these files django-lint.py shows error:

W:  1,0: Missing required field 'MANAGERS'
W:  1,0: Missing required field 'ADMINS'
W:  1,0: Missing required field 'TEMPLATE_DEBUG'
W:  1,0: Missing required field 'MIDDLEWARE_CLASSES'
W:  1,0: Missing required field 'DEBUG'
W:  1,0: Missing required field 'INSTALLED_APPS'