Skip to main content

REST API module for django-oscar

Project description

This package provides a RESTful API for django-oscar.

https://travis-ci.org/django-oscar/django-oscar-api.svg?branch=master Coverage Documentation Status Latest PyPi release

Usage

To use the Oscar API application in an Oscar E-commerce site, follow these steps:

  1. Install the django-oscar-api package (pip install django-oscar-api).

  2. Add rest_framework and oscarapi to INSTALLED_APPS

    INSTALLED_APPS = [
     ...
     'rest_framework',
     'oscarapi',
    ]
  3. 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")),
    )
  4. Apply migrations:

    python manage.py migrate

See the Documentation for more information and the Changelog for release notes.

Project details


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.0.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

django_oscar_api-3.1.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file django-oscar-api-3.1.0.tar.gz.

File metadata

  • Download URL: django-oscar-api-3.1.0.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for django-oscar-api-3.1.0.tar.gz
Algorithm Hash digest
SHA256 f7993b930a190683bca34434a1ab0b4cf52c437175f265200da6531b059d533b
MD5 7ed45a1679f5ac6248bf1fe0d081969a
BLAKE2b-256 fb772fb47005ab95695301faf9d06d0c7695a18ac20e43f10e1f586b91b46b50

See more details on using hashes here.

File details

Details for the file django_oscar_api-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_oscar_api-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for django_oscar_api-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a88ed5cc871c45e37af5b80acb16ed460f9cc1def6b5fdecf0a24326d02f80a
MD5 e15107d48556d21a29ace14dd6352f22
BLAKE2b-256 c0f110f32ab4a8e0f1e3f46df233c659b0fa0453e70d4df78f06df0d34a804b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page