django oscar

Domain-driven e-commerce for Django


… image::

Domain-driven e-commerce for Django

Oscar is an e-commerce framework for Django designed for building domain-driven
sites. It is structured such that any part of the core functionality can be
customised to suit the needs of your project. This allows a wide range of
e-commerce requirements to be handled, from large-scale B2C sites to complex B2B
sites rich in domain-specific business logic.


… contents:: :local:

… image::

… image::

Further reading:

  • Official homepage_
  • Sandbox site_ (automatically deployed via the official docker sandbox image)
  • Documentation_ on the excellent readthedocs.org_
  • Docker image_ on
  • django-oscar group_ - mailing list for questions and announcements
  • Twitter account for news and updates_
  • Discord_
  • PyPI page_
  • Transifex project_ - translating Oscar made easy

… start-no-pypi

Continuous integration status:

… image::

… image::
:alt: Coverage

… image::
:alt: Requirements Status

PyPI status:

… image::

Docs status:

… image::
:alt: Documentation Status

… end-no-pypi

… _Official homepage:
… _Sandbox site:
… _Docker image:
… _Documentation:
… _Twitter account for news and updates:!/django_oscar
… _django-oscar group:!forum/django-oscar
… _PyPI page:
… _Transifex project:
… _Discord:

Core team:

  • David Winterbottom_ (Twitter @codeinthehole_)
  • Maik Hoepfel_ (Twitter @maikhoepfel_)
  • Markus Bertheau_
  • Michael van Tellingen_
  • Alexander Gaevsky_
  • Samir Shah_

… _David Winterbottom:
… _@codeinthehole:
… _Maik Hoepfel:
… _@maikhoepfel:
… _Markus Bertheau:
… _Michael van Tellingen:
… _Alexander Gaevsky:
… _Samir Shah:

Supported versions

The currently supported versions of Oscar are:

| Version | End of support |
| 3.2 LTS | January 2026 |
| 3.1 | April 2022 |
| 3.0 | May 2021 |
| 2.2 LTS | August 2023 |

Supported versions are eligible for fixes for data loss bugs and security issues. Releases designated as
Long-term support (LTS) releases will receive support for an extended period of 3 years from their release date.



These are screenshots from the 'sandbox' example site that ships with
Oscar.  It sports a simple design built with Twitter's Bootstrap_ and provides a
good starting point for rapidly building elegant e-commerce sites.

.. _Bootstrap:

.. image::

.. image::

.. image::

.. image::

The sandbox site is also available to browse at

The sandbox site can be set-up locally `in 5 commands`_.  Want to
make changes?  Check out the `contributing guidelines`_.

.. _`in 5 commands`:
.. _`contributing guidelines`:


The following extensions are stable and ready for use:

* django-oscar-api_ - RESTful JSON API for django-oscar

* django-oscar-odin_ - Odin Resources and mappings to Oscar models

* django-oscar-adyen_ - Integration with the Adyen payment gateway

* django-oscar-datacash_ - Integration with the DataCash_ payment gateway

* django-oscar-paypal_ - Integration with PayPal.  This currently supports both
  `Express Checkout`_ and `PayFlow Pro`_.

* django-oscar-paymentexpress_ - Integration with the `Payment Express`_ payment

* django-oscar-accounts_ - Managed accounts (can be used for giftcard
  functionality and loyalty schemes)

* django-oscar-stores_ - Physical stores integration (opening hours, store
  locator etc)

* django-oscar-sagepay-direct_ - Integration with "DIRECT" part of Sagepay's API

* django_oscar_docdata_ - Integration with Docdata_ payment gateway.

* django_oscar_invoices_ - Invoices or receipts generation for the

.. _django-oscar-api:
.. _django-oscar-odin:
.. _django-oscar-adyen:
.. _django-oscar-datacash:
.. _django-oscar-paymentexpress:
.. _`Payment Express`:
.. _DataCash:
.. _django-oscar-paypal:
.. _`Express Checkout`:
.. _`PayFlow Pro`:
.. _django-oscar-accounts:
.. _django-oscar-easyrec:
.. _EasyRec:
.. _django-oscar-stores:
.. _django-oscar-sagepay-direct:
.. _eWay:
.. _django_oscar_docdata:
.. _Docdata:
.. _django_oscar_invoices:

The following are community-written extensions:

* django-oscar-payments_ - Pluggable payments for Oscar

* oscar-sagepay_ - Payment integration with Sage Pay

* django-oscar-support_ - Customer services and ticketing plugin for Oscar

* django-oscar-api-checkout_ - Oscar API Checkout is a layer on top of
  django-oscar and django-oscar-api, adding support for more complex and
  multiple payment options during an API checkout.

* django-oscar-bundles_ - Oscar Bundles adds multi-product bundles to

* django-oscar-bluelight_ - `Bluelight Specials`_ is a layer on-top of
  django-oscar that adds support for more complex offers and vouchers,
  including conjunctive and disjunctive compound conditions.

* django-oscar-cch_ - Oscar CCH is a plugin for django-oscar adding support
  for calculating taxes using the Wolters Kluwer `CCH Sales Tax Office`_ SOAP

* django-oscar-cybersource_ - Oscar CyberSource is a plugin for Oscar API
  Checkout that makes it possible to use
  `CyberSource Secure Acceptance Silent Order Post`_ as an order payment

* django-oscar-wfrs_ - Oscar WFRS is a plugin for django-oscar-api-checkout_
  that makes it possible to use `Wells Fargo Retail Services`_ as an order
  payment method.
* django-oscar-zarinpal-gateway_ - Payment gateway integration for Zarinpal Payments in django-oscar. Zarinpal Payments is a large payment gateway based in The I.R. Iran .

Let us know if you're writing a new one!

.. _django-oscar-payments:
.. _oscar-sagepay:
.. _django-oscar-support:
.. _django-oscar-api-checkout:
.. _django-oscar-bundles:
.. _django-oscar-bluelight:
.. _`Bluelight Specials`:
.. _django-oscar-cch:
.. _`CCH Sales Tax Office`:
.. _django-oscar-cybersource:
.. _`CyberSource Secure Acceptance Silent Order Post`:
.. _django-oscar-wfrs:
.. _`Wells Fargo Retail Services`:
.. _django-oscar-zarinpal-gateway:


Videos with talks about Oscar:

* `An introduction to Django-oscar`_ by `David Winterbottom`_, DjangoCon Europe 2014
* `Oscar and the art of transactional Django applications`_ by `David Winterbottom`_, PyCon PL 2014
* `The Tale of Oscar and the API`_ by `Kees Hink`_, PyGrunn 2017

.. _`An introduction to Django-oscar`:
.. _`Oscar and the art of transactional Django applications`:
.. _`The Tale of Oscar and the API`:
.. _`Kees Hink`:


Oscar is released under the permissive `New BSD license`_ (see summary_).

.. _summary:

.. _`New BSD license`:

Contributing to the Project

We welcome contributions to the project! Whether it's a bug fix, a new feature, or just some documentation improvements, your contributions are greatly appreciated.

To contribute, please follow these steps:

Fork the project repository on GitHub.
Clone your forked repository to your local machine.
Create a new branch for your changes.
Make your changes, and commit them with clear commit messages.
Push your changes to your forked repository.
Open a pull request on the original project repository, explaining your changes.
Please note that all contributions are subject to review, and may be modified or rejected if they do not meet the project's standards.

Code of Conduct

We want everyone involved in the project to feel safe and respected, regardless of their background or identity. As such, we have adopted the following Code of Conduct:

Our Pledge 

In the interest of fostering an open and welcoming environment, we pledge to:

Be friendly and welcoming to all contributors.
Respect differing viewpoints and experiences.
Accept constructive criticism and feedback graciously.
Focus on what is best for the community and the project.

Our Standards

We expect all contributors to:

Use welcoming and inclusive language.
Be respectful of differing viewpoints and experiences.
Gracefully accept constructive criticism.
Focus on what is best for the community and the project.

Our Responsibilities

Project maintainers are responsible for:

Enforcing the Code of Conduct.
Investigating and addressing reported violations of the Code of Conduct.
Making clear and fair decisions about disciplinary actions for violations of the Code of Conduct.
This Code of Conduct applies to all contributors, both online and offline, in all project spaces, including but not limited to project forums, mailing lists, GitHub repositories, and in-person events.


If you witness or experience unacceptable behavior, or have any other concerns, please notify the project maintainers at [email protected] & [email protected]. All reports will be kept confidential, and the project maintainers will work with you to determine a resolution.

We reserve the right to take any action deemed necessary to enforce this Code of Conduct, including but not limited to warning the offender, banning the offender from the project's spaces, or reporting the offender to relevant authorities.
Case studies

Oscar is still in active development but is used in production by a range of
companies, from large multinationals to small, boutique stores. See for an overview.

Many more on the way.  If you use Oscar in production, please `let us know`_.

.. _`let us know`:

Looking for commercial support?

If you are interested in having an Oscar project built for you, or for
development of an existing Oscar site then please get in touch via [email protected]_.

… _[email protected]: mailto:[email protected]