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 How many times koe is in the sourcecode

Usage

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

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

  2. Add oscarapi to INSTALLED_APPS.

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

    from oscarapi.app import application as api
    urlpatterns = patterns('',
        # all the things you allready got
        url(r'^api/', include(api.urls)),
    )

See the Documentation for more information.

Changelog

1.0.5 (2016-07-13)

Fixes:
  • #70 Change process_response to have acorrect API created basket cookie added to the response (albertojacini)

1.0.4 (2016-04-04)

Features:
  • #65 Add Docker configuration for testing convenience (crgwbr)

Fixes:
  • #66 Raise a ValidationError (instead of a 500 server error) when you try to checkout with an empty basket (crgwbr)

  • #67 Fixes an AssertionError in the LineList view (missing queryset attribute)

1.0.3 (2016-03-21)

Features:
  • #35 Changes format of urls of basket lines (lines/1 -> basket/1/lines/1)

  • #63 Make AddProductSerializer easily overridable

Fixes:
  • #63 You can now update basketlines more easily with a PUT, updated documentation for this

1.0.2 (2016-03-01)

Features:
  • #58 Send a signal after placing an order so you don’t need to customize the CheckoutView for custom post actions (bufke)

Fixes:
  • #60 is_quantity_allowed returned the quantity and not an error message (bootinge)

  • Updated the docs with forgotten application definition (SamuelSilveira)

1.0.1 (2016-01-29)

Fixes:
  • #57 Make sure that we are really compatible with Django 1.9 (against Oscar Dev)

  • Removed django-compressor<2.0 as a dependency

  • Fix for the LoginSerializer to make it work with custom username fields

1.0.0 (2016-01-14)

Initial release.

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-oscar-api-1.0.5.tar.gz
Algorithm Hash digest
SHA256 df0a567f2be87e9b693544cb05059b69dac050694025d42b8a9eaf30c34e45b4
MD5 1d9742af620e5c4f0ae149961fc2bde3
BLAKE2b-256 48582b0b95881d9b6477e75cacbad104e26bd9e74623a3de920344def3f6feb4

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