Awesome Open Source
Awesome Open Source

================ Django Oscar API

This package provides a RESTful API for django-oscar_.

.. _django-oscar:

.. image:: :target:

.. image:: :alt: Coverage :target:

.. image:: :alt: Documentation Status :target:

.. image:: :alt: Latest PyPi release :target:


To use the Oscar API application in an Oscar E-commerce site, follow these steps:

  1. Install the django-oscar-api package (pip install django-oscar-api).

  2. Add rest_framework and oscarapi to INSTALLED_APPS

    .. code-block:: python

  3. 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")), )

  4. Apply migrations::

    python migrate

See the Documentation_ for more information and the Changelog_ for release notes.

.. _Documentation: .. _Changelog:

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (54,447
api (1,733
django (1,033
rest (498
restful (175