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.1.tar.gz
(41.8 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-3.1.1.tar.gz
.
File metadata
- Download URL: django-oscar-api-3.1.1.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92e59df5b7b640bf9168ec9d2a6bfe3d512076ad888cbb60acc0984323e905f |
|
MD5 | bea121d5ff8652672d1c1be9168e920f |
|
BLAKE2b-256 | 5c4185b30567eb34b669bc9742e655862a3cc4e80e7bfe58a1d734aa3f13ee43 |
File details
Details for the file django_oscar_api-3.1.1-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-3.1.1-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8431a1b7815cd3edbc8ad1f1ecc245c2b71c623818dfc33dbaeffaa662887e1 |
|
MD5 | cff2f6a19d024b3953592023c7a5854d |
|
BLAKE2b-256 | 20ba7b055b5754b86c8018efe7f7e49a26ae22da89d85e5ab2655922c3a3745c |