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.0.tar.gz
(41.9 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-3.2.0.tar.gz
.
File metadata
- Download URL: django-oscar-api-3.2.0.tar.gz
- Upload date:
- Size: 41.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aa6bb6529fa8de9dfc8b46908444a41609eca2f8d86776ad6dd4d8b37f0696f |
|
MD5 | db3588f9e67ff0e76f24dfddf67deb47 |
|
BLAKE2b-256 | 981bb7000ebdc16a8648ea18df5a23ff5d7346121c4a5088d40315f979d97181 |
File details
Details for the file django_oscar_api-3.2.0-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-3.2.0-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 718fdfd73dd79fb932278784a67f662a26e99a3cc827beea103463d75be13bc3 |
|
MD5 | b5c1e6be0512f5608d8a2ee96c59a24e |
|
BLAKE2b-256 | 1c4ad251d5f2acecce35beaca88d9ddcdbb45734cbc76681d43d4b3f1a738883 |