Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Document Web APIs made with Django Rest Framework. View Demo
If you are looking to develop this package with one of your own django projects:
pyvenv env
env/bin/pip install -r requirements.txt
pip install -e ~/Projects/drf-docs/
If you want to use the demo app to work on this package:
Included in this repo you can find the demo project(at /demo
). It is a project with Django & Django Rest Framework that will allow you to work with this project. For more information on how you can set it up please check the README.md of the demo project.
For more information visit the docs.
Install using pip:
pip install drfdocs
Add 'rest_framework_docs' to your INSTALLED_APPS
setting:
INSTALLED_APPS = (
...
'rest_framework_docs',
)
Finally include the rest_framework_docs
urls in your urls.py
:
urlpatterns = [
...
url(r'^docs/', include('rest_framework_docs.urls')),
]
You can find detailed information about the package's settings at the docs.
REST_FRAMEWORK_DOCS = {
'HIDE_DOCS': True # Default: False
}
First of all thanks to the Django core team and to all the contributors of Django REST Framework for their amazing work. Also I would like to thank Marc Gibbons for his django-rest-framework-docs project. Both projects share the same idea, it is just that Marc's is not maintained anymore and does not support DRF 3+ & Python 3.
FAQs
Documentation for Web APIs made with Django Rest Framework.
We found that drfdocs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.