Skip to content

Add admin - #45

Merged
pombredanne merged 3 commits into
developfrom
add-admin
Apr 10, 2019
Merged

Add admin#45
pombredanne merged 3 commits into
developfrom
add-admin

Conversation

@singh1114

Copy link
Copy Markdown
Contributor
  • Add admin to see the packages being added to the database.

Signed-off-by: Ranvir Singh <ranvir.singh1114@gmail.com>
Signed-off-by: Ranvir Singh <ranvir.singh1114@gmail.com>
Comment thread vulnerabilities/models.py
Identifiers are stored as VulnerabilityReference.
"""
summary = models.CharField(max_length=100, help_text='Summary of the vulnerability', blank=True)
summary = models.TextField(help_text='Summary of the vulnerability', blank=True)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Some of the summaries in the Debian package were more than 2000 characters.

Comment thread vulnerablecode/urls.py
url(r'^api/', include(api_router.urls)),
re_path(r'^admin/', admin.site.urls),
re_path(r'^vulnerabilities/', include('vulnerabilities.urls')),
re_path(r'^api/', include(api_router.urls))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Recommended way in newer versions.

Signed-off-by: Ranvir Singh <ranvir.singh1114@gmail.com>

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍
Thanks ++

@pombredanne
pombredanne merged commit 5895b36 into develop Apr 10, 2019
@pombredanne
pombredanne deleted the add-admin branch April 10, 2019 14:42
pombredanne added a commit that referenced this pull request Apr 2, 2025
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.

2 participants