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

Uploaded Source

Built Distribution

django_oscar_api-2.0.1-py3-none-any.whl (54.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-oscar-api-2.0.1.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for django-oscar-api-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3cd115e650b34afe4ba3be337294734964ffcdf74e8914ed3d3edcf73e56c080
MD5 c40ce078d23e796b42ebf3b2c0ee6b1c
BLAKE2b-256 51b77b31a92ca66aaa2dfa5a887e804e689a258fcde057428dab43c61d2c3b14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_oscar_api-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 54.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for django_oscar_api-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef78799915d677ec2019afdf27f1d5ac1b04509eb79c0e8fed61ae3993c5daa8
MD5 9cb219df3932b61660a6df772bb1c752
BLAKE2b-256 b2e3d8b6c95c1501dfba4f2acc2639e58daa87d6f6385e0d3468c277aabdf115

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