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.2.tar.gz
(41.8 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-3.1.2.tar.gz
.
File metadata
- Download URL: django-oscar-api-3.1.2.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e18417cd335e915373dc22eaf7d9fa0c434d1bc1dcfcb5b6fbaab1379f7aeb1b |
|
MD5 | 68cea9a330793f284bd1e12ab910417a |
|
BLAKE2b-256 | e2161907f7939d0628830765f17a59c11eb40d2b10f25e518a41a528a383f3aa |
File details
Details for the file django_oscar_api-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-3.1.2-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0035ed7a1405745f10d38ea63f7d5e8f908f22b9d6c60c258d96cae01665c86d |
|
MD5 | 41f4857c0292b6fe8d97df50c8124899 |
|
BLAKE2b-256 | df07b3058f93147ee11b220d0a6bfbc402b32b48b5abdfbda265cea5a0297d49 |