REST API module for django-oscar
Project description
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-api package (pip install django-oscar-api).
Add rest_framework and oscarapi to INSTALLED_APPS
INSTALLED_APPS = [ ... 'rest_framework', 'oscarapi', ]
Add the application’s urls to your urlconf
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-oscar-api-3.1.0.tar.gz
(41.5 kB
view hashes)
Built Distribution
Close
Hashes for django_oscar_api-3.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a88ed5cc871c45e37af5b80acb16ed460f9cc1def6b5fdecf0a24326d02f80a |
|
MD5 | e15107d48556d21a29ace14dd6352f22 |
|
BLAKE2b-256 | c0f110f32ab4a8e0f1e3f46df233c659b0fa0453e70d4df78f06df0d34a804b7 |