Settings should be part of version control and must not be ignored
Added settings to version control
Added local settings
Keep imports at top
Keeping shebang line in django files doesn't help in anyway
Remove cruft
Secret key should not be part of version control, known SECRET_KEY
defeats many of Django's security protections
Removed unused urls file
Move username and password out of settings, it should be set in env variables
Use Unipath and stop path dance
Remove duplicated import
With the existing urls, django would have served media files which it
shouldn't. Changed it
so that media files will only be served by Django in development and
nginx or some other server must be used to serve them in production.
Group imports and remove unused imports
Honour pep8
Code pretty self explanatory, don't need such comments
Remove duplicate code from login view, should add LoginForm sometime
Needs to always render the same template, only the context changes. So, don't need so many render_to_response
Redirect_View is not used anywhere in project, so can remove
Do not require shebang line
indented code, used 'render' instead 'render_to_response'