Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django sql injection #292

Merged
merged 4 commits into from May 16, 2018
Merged

Django sql injection #292

merged 4 commits into from May 16, 2018

Conversation

ehooo
Copy link
Contributor

@ehooo ehooo commented May 7, 2018

Done issue #291

@lukehinds
Copy link
Member

looks good to me, will let either @ericwb or @sigmavirus24 be approving reviews.

@lukehinds lukehinds self-requested a review May 16, 2018 06:50
Copy link
Member

@sigmavirus24 sigmavirus24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested this locally, but it looks (:eyes: - only) good to me

@lukehinds lukehinds merged commit 23c5fae into PyCQA:master May 16, 2018
Copy link
Member

@ericwb ericwb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I was late to review. There are a couple things to fix up, hopefully soon in a future PR.



import ast
import bandit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a blank line before this import. Pep8 says to group imports.

- https://docs.djangoproject.com/en/dev/topics/
security/#sql-injection-protection

.. versionadded:: X.X.X
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be set to 1.4.1

- https://docs.djangoproject.com/en/dev/topics/
security/#sql-injection-protection

.. versionadded:: X.X.X
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be set to 1.4.1

Copy link
Member

@ericwb ericwb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need autodoc link to these new plugins. See https://github.com/PyCQA/bandit/tree/master/doc/source/plugins

@ehooo ehooo mentioned this pull request May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants