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 oscarapi to INSTALLED_APPS.
Add the application’s urls to your urlconf:
from django.conf.urls import url from oscarapi.app import application as api urlpatterns = ( # all the things you already have url(r'^oscarapi/', api.urls), )
or with the newer Django 2.x way:
from django.urls import path from oscarapi.app import application as api urlpatterns = ( # all the things you already have path('oscarapi/', api.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-1.5.4.tar.gz
(23.3 kB
view hashes)
Built Distribution
Close
Hashes for django_oscar_api-1.5.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9b8b785c7b23e402a8f9e3af78aa4da795841a386bf5b08a63df46e7a8dba8 |
|
MD5 | b424c8df0b28888d7adaaea7e4c91ded |
|
BLAKE2b-256 | 309a42d19cb86320a1a8af4ed359f83f10769e2d90a229254c134196731e54d4 |