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-2.1.0.tar.gz
(41.4 kB
view details)
Built Distribution
File details
Details for the file django-oscar-api-2.1.0.tar.gz
.
File metadata
- Download URL: django-oscar-api-2.1.0.tar.gz
- Upload date:
- Size: 41.4 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 | e07f6ff91692c828a81533e56e49ccf88d5207cd8e17ad9a4ccb50597af74752 |
|
MD5 | 759b6931fc061fe5bf66b87663bf2f6d |
|
BLAKE2b-256 | 7d089144a081e58c12588a7a3135f0db6b82df2bc9048c00016f202469ef60e7 |
File details
Details for the file django_oscar_api-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_oscar_api-2.1.0-py3-none-any.whl
- Upload date:
- Size: 56.6 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 | fb2f74fc8a9ccb95c8b321c2572a770941d8953d434261f8c7fba052c5031ea7 |
|
MD5 | 93d5454bce9e3adf537417a72efa0f51 |
|
BLAKE2b-256 | 3905182199cfad09e7cf5ac0e09a6ce0f6b17d144c7070811488386c01de8635 |