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 oscarapi to INSTALLED_APPS.

  3. Add the application’s urls to your urlconf:

    from django.conf.urls import url
    
    from oscarapi.app import application as api
    
    urlpatterns = (
        # all the things you already have
        url(r'^oscarapi/', api.urls),
    )

    or with the newer Django 2.x way:

    from django.urls import path
    
    from oscarapi.app import application as api
    
    urlpatterns = (
        # all the things you already have
        path('oscarapi/', api.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-1.5.4.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

django_oscar_api-1.5.4-py2.py3-none-any.whl (33.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-oscar-api-1.5.4.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for django-oscar-api-1.5.4.tar.gz
Algorithm Hash digest
SHA256 a23a52371a5164d336846c1ba287d227bdb9d1c0d795f5f6f29ebf3dbaebdb9e
MD5 f6ca8e1691d1ebde570aacf071ffdc8d
BLAKE2b-256 3a4e05ee34a8ca1350476add33a209aa8c1b80acf098e41ac4120cd766653daa

See more details on using hashes here.

File details

Details for the file django_oscar_api-1.5.4-py2.py3-none-any.whl.

File metadata

  • Download URL: django_oscar_api-1.5.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for django_oscar_api-1.5.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8c9b8b785c7b23e402a8f9e3af78aa4da795841a386bf5b08a63df46e7a8dba8
MD5 b424c8df0b28888d7adaaea7e4c91ded
BLAKE2b-256 309a42d19cb86320a1a8af4ed359f83f10769e2d90a229254c134196731e54d4

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