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.
This package provides a RESTful API for django-oscar
_.
.. _django-oscar
: https://github.com/django-oscar/django-oscar
.. image:: https://travis-ci.org/django-oscar/django-oscar-api.svg?branch=master :target: https://travis-ci.org/django-oscar/django-oscar-api
.. image:: https://codecov.io/github/django-oscar/django-oscar-api/coverage.svg?branch=master :alt: Coverage :target: http://codecov.io/github/django-oscar/django-oscar-api?branch=master
.. image:: https://readthedocs.org/projects/django-oscar-api/badge/ :alt: Documentation Status :target: https://django-oscar-api.readthedocs.io/
.. image:: https://badge.fury.io/py/django-oscar-api.svg :alt: Latest PyPi release :target: https://pypi.python.org/pypi/django-oscar-api
To use the Oscar API application in an Oscar E-commerce site, follow these steps:
Install the django-oscar-api
package (pip install django-oscar-api
).
Add rest_framework
and oscarapi
to INSTALLED_APPS
.. code-block:: python
INSTALLED_APPS = [
...
'rest_framework',
'oscarapi',
]
Add the application's urls to your urlconf
.. code-block:: python
from django.urls import include
urlpatterns = ( # all the things you already have path("api/", include("oscarapi.urls")), )
Apply migrations::
python manage.py migrate
See the Documentation_ for more information and the Changelog_ for release notes.
.. _Documentation: https://django-oscar-api.readthedocs.io .. _Changelog: https://django-oscar-api.readthedocs.io/en/latest/changelog.html
FAQs
REST API module for django-oscar
We found that django-oscar-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.