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

Add django admin functionality for searching and filtering objects #330

Merged
merged 3 commits into from
Feb 5, 2021

Conversation

sbs2001
Copy link
Collaborator

@sbs2001 sbs2001 commented Jan 30, 2021

Fixes #315

Signed-off-by: Shivam Sandbhor [email protected]

@sbs2001 sbs2001 mentioned this pull request Jan 31, 2021
@@ -34,22 +34,24 @@

@admin.register(Vulnerability)
class VulnerabilityAdmin(admin.ModelAdmin):
pass
search_fields = ["cve_id"]
Copy link
Member

Choose a reason for hiding this comment

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

I really want to get #259 merged ASAP

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

See my minor nit below.
We will need to revisit this

@sbs2001 sbs2001 merged commit 1d6bade into aboutcode-org:main Feb 5, 2021
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.

Enable basic Django admin features
2 participants