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.0.0.tar.gz
(41.6 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-3.0.0.tar.gz
.
File metadata
- Download URL: django-oscar-api-3.0.0.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc76b91cb2363209e14ef76689b4ede3d6dcc7d7db3fa93201f25be4333a140 |
|
MD5 | 76ca3668a0c7a7b06788c6b0f382fab4 |
|
BLAKE2b-256 | c9c12e5d4db26b8b96464ac0f8f9ceb3a583e135904d2708f9e0e191dc3bbfbb |
File details
Details for the file django_oscar_api-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-3.0.0-py3-none-any.whl
- Upload date:
- Size: 56.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5ccde1fc77569a75e4e3606e6ec6eb9228b198395c008ce23d11c8f98b8fb00 |
|
MD5 | 3036576eb4d47b86e4945cee3fe58656 |
|
BLAKE2b-256 | 118e4efc786547517578d6871a342cbf24b814f76fe8b677cf4302ae4eb22b9f |