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.3.0.tar.gz
(45.8 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-3.3.0.tar.gz
.
File metadata
- Download URL: django-oscar-api-3.3.0.tar.gz
- Upload date:
- Size: 45.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5d6c77def1ddd517c2b52ae4eb6d04ea766283779c0a8ff9e519f1a6c656474 |
|
MD5 | 06d007a8a8de5851e356f0f59ab34f0b |
|
BLAKE2b-256 | cc948af7c9c92a85563baef3cbaf77dec055fd18783539b8c71f646a92a453ee |
File details
Details for the file django_oscar_api-3.3.0-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-3.3.0-py3-none-any.whl
- Upload date:
- Size: 62.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a92d7d984dd83ad17a4cc3e8d49c42fc85e85fbdb390a9f123f96f67334bf2e |
|
MD5 | 13105538fd98805151ce6fbb6103f6e4 |
|
BLAKE2b-256 | 27221effe9e15198762f6b9ba80ce54aca589011b9d62fae1c50356c06ccc4df |