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.2.4.tar.gz
(43.0 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-3.2.4.tar.gz
.
File metadata
- Download URL: django-oscar-api-3.2.4.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3e98682084cd622232230fd341f40fd3f11e617b75b20fbb6d2cb8eb27a739 |
|
MD5 | 088e466c6c876844945964e05b3a7626 |
|
BLAKE2b-256 | a77cae5b38cef3270ec6326192c9d115e8d1e86bf2d6b05e52ac0748dac06070 |
File details
Details for the file django_oscar_api-3.2.4-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-3.2.4-py3-none-any.whl
- Upload date:
- Size: 59.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e886b9b43603fe7dd505dd5938cf2d5d3c5073ec4d7378cfd166202aefa63c9b |
|
MD5 | cac332800a47ffe05faab0b88cbdbed6 |
|
BLAKE2b-256 | f12db5d780c6f1d5d22d556304a1f5b715bc96f3dcb73b3af11400393b3ea15e |