Django Oscar API
This package provides a RESTful API for django-oscar.
Usage
To use the Oscar API application in an Oscar E-commerce site, follow these steps:
-
Install the
django-oscar-apipackage (pip install django-oscar-api). -
Add
rest_frameworkandoscarapitoINSTALLED_APPSpython INSTALLED_APPS = [ ... 'rest_framework', 'oscarapi', ] -
Add the application\'s urls to your urlconf
``` 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.