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

Uploaded Source

Built Distribution

django_oscar_api-2.1.1-py3-none-any.whl (56.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-oscar-api-2.1.1.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

Hashes for django-oscar-api-2.1.1.tar.gz
Algorithm Hash digest
SHA256 931d715dc4f92fe47c853c08807bfa8c0c452c5f11cc04265c708ef00dbaaa08
MD5 ba7c4ed2b6a3deb1d3b23ef7f1a7775c
BLAKE2b-256 db4aca267dd099dece1adeb2f76f4d81d63958b4bded20915061abecef5d8e14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_oscar_api-2.1.1-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

Hashes for django_oscar_api-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7287764b982e3db3ae658e81b51092bbda934e28ae4e1447abb002ce16179ecc
MD5 c50460409a95bc8cba32dad80876868a
BLAKE2b-256 5e161e8519cb88ceeb23fe0bd0acda21b85fd2ad756b43a054f09d9f5caf8626

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