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.3.0.tar.gz
(45.8 kB
view hashes)
Built Distribution
Close
Hashes for django_oscar_api-3.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a92d7d984dd83ad17a4cc3e8d49c42fc85e85fbdb390a9f123f96f67334bf2e |
|
MD5 | 13105538fd98805151ce6fbb6103f6e4 |
|
BLAKE2b-256 | 27221effe9e15198762f6b9ba80ce54aca589011b9d62fae1c50356c06ccc4df |