You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Maik Hoepfel 27c0dc0370 Detect number of CPU cores for faster testing 12 年之前
.tx Pull updated transifex translations 13 年之前
docs Allow more control over country highlighting 12 年之前
oscar Fix typo 12 年之前
sites Stop manually serving static files 12 年之前
tests Add 'parent' argument to category_tree template tag 12 年之前
.coveragerc Ignore migrations for coverage reports 12 年之前
.gitignore Merge branch 'issue/557/demo' from pull request #557 12 年之前
.mailmap Add mailmap file to identify users with different email/names 12 年之前
.travis.yml Allow and test against Django 1.5 12 年之前
AUTHORS Update AUTHORS file 12 年之前
CHANGELOG.rst Add release notes for 0.5 12 年之前
CONTRIBUTING.rst Remove execturable bit on CONTRIBUTING file. 12 年之前
LICENSE Added BSD license 15 年之前
MANIFEST.in Add compiled gettext catalogues to source dist 12 年之前
Makefile Fix URL of Python puppet module 12 年之前
README.rst Add community extensions to README 12 年之前
Vagrantfile Add Apache support to Vagrant machine 13 年之前
create_migration.py Add --empty and --name options to create_migration script 13 年之前
lint.sh Fix lint issues 13 年之前
pre-commit.sh Moved tests into separate package. 13 年之前
release.sh Compile CSS before packaging in release script 13 年之前
requirements.txt Move django-oscar-testsupport into oscar.test 12 年之前
requirements_demo.txt Pin django-oscar-stores for demo site 12 年之前
requirements_less.txt Migrate virtual-* dependencies to requirements file 13 年之前
requirements_vagrant.txt Add MySQL support to Vagrant machine 13 年之前
runtests.py Detect number of CPU cores for faster testing 12 年之前
setup.py Upgrade to django-treebeard 2.01b 12 年之前
tox.ini Allow and test against Django 1.5 12 年之前

README.rst

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/logos/oscar.png
:target: http://oscarcommerce.com

===================================
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.

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/oscarcommerce.thumb.png
:target: http://oscarcommerce.com

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/readthedocs.thumb.png
:target: http://django-oscar.readthedocs.org/en/latest/

Further reading:

* `Official homepage`_
* `Demo site`_ (a reference build of an Oscar project)
* `Sandbox site`_ (an hourly build of the unstable master branch - it's
experimental but feel free to explore and get a feel for the base Oscar
install.)
* `Documentation`_ on the excellent `readthedocs.org`_
* `Google Group`_ - the mailing list is django-oscar@googlegroups.com
* `Continuous integration homepage`_ on `travis-ci.org`_
* `Twitter account for news and updates`_
* `Twitter account of all commits`_
* `crate.io page`_
* `PyPI page`_
* `Transifex project`_ - translating Oscar made easy

Continuous integration status:

.. image:: https://secure.travis-ci.org/tangentlabs/django-oscar.png
:target: http://travis-ci.org/#!/tangentlabs/django-oscar

.. image:: https://coveralls.io/repos/tangentlabs/django-oscar/badge.png?branch=master
:alt: Coverage
:target: https://coveralls.io/r/tangentlabs/django-oscar

PyPI status:

.. image:: https://pypip.in/v/django-oscar/badge.png
:target: https://crate.io/packages/django-oscar/

.. image:: https://pypip.in/d/django-oscar/badge.png
:target: https://crate.io/packages/django-oscar/

.. _`Official homepage`: http://oscarcommerce.com
.. _`Sandbox site`: http://latest.oscarcommerce.com
.. _`Demo site`: http://demo.oscarcommerce.com
.. _`Documentation`: http://django-oscar.readthedocs.org/en/latest/
.. _`readthedocs.org`: http://readthedocs.org
.. _`Continuous integration homepage`: http://travis-ci.org/#!/tangentlabs/django-oscar
.. _`travis-ci.org`: http://travis-ci.org/
.. _`Twitter account for news and updates`: https://twitter.com/#!/django_oscar
.. _`Twitter account of all commits`: https://twitter.com/#!/oscar_django
.. _`Google Group`: https://groups.google.com/forum/?fromgroups#!forum/django-oscar
.. _`crate.io page`: https://crate.io/packages/django-oscar/
.. _`PyPI page`: http://pypi.python.org/pypi/django-oscar/
.. _`Transifex project`: https://www.transifex.com/projects/p/django-oscar/

Oscar was written by `David Winterbottom`_ (`@codeinthehole`_) and is developed
and maintained by `Tangent Labs`_, a London-based digital agency.

.. _`David Winterbottom`: http://codeinthehole.com
.. _`@codeinthehole`: https://twitter.com/codeinthehole
.. _`Tangent Labs`: http://www.tangentlabs.co.uk

Screenshots
-----------

Sandbox
~~~~~~~

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: http://twitter.github.com/bootstrap/

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/browse.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/browse.png

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/detail.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/detail.png

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/basket.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/basket.png

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/dashboard.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/dashboard.png

The sandbox site is also available to browse at
http://latest.oscarcommerce.com. Dashboard users can be created using `this
gateway page`_.

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

.. _`this gateway page`: http://latest.oscarcommerce.com/gateway/
.. _`in 5 commands`: http://django-oscar.readthedocs.org/en/latest/internals/sandbox.html#running-the-sandbox-locally
.. _`contributing guidelines`: http://django-oscar.readthedocs.org/en/latest/contributing/index.html

Demo
~~~~

Oscar also ships with a demo site, which is a reference build of an Oscar
project. It integrates with Oscar's stores_, PayPal_ and Datacash_ extensions.

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/demo.home.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/demo.home.png

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/demo.browse.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/demo.browse.png

The demo site is also available to browse at
http://demo.oscarcommerce.com

.. _stores: https://github.com/tangentlabs/django-oscar-stores
.. _PayPal: https://github.com/tangentlabs/django-oscar-paypal

Extensions
----------

The following extensions are stable and ready for use:

* 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
gateway
* 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-easyrec_ - Recomendations using EasyRec_
locator etc)
* django-oscar-testsupport_ - Testing utilities for Oscar extensions
(deprecated)

.. _django-oscar-datacash: https://github.com/tangentlabs/django-oscar-datacash
.. _django-oscar-paymentexpress: https://github.com/tangentlabs/django-oscar-paymentexpress
.. _`Payment Express`: http://www.paymentexpress.com
.. _DataCash: http://www.datacash.com/
.. _django-oscar-paypal: https://github.com/tangentlabs/django-oscar-paypal
.. _`Express Checkout`: https://www.paypal.com/uk/cgi-bin/webscr?cmd=_additional-payment-ref-impl1
.. _`PayFlow Pro`: https://merchant.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=merchant/payment_gateway
.. _django-oscar-gocardless: https://github.com/tangentlabs/django-oscar-gocardless
.. _GoCardless: https://gocardless.com/
.. _django-oscar-jirafe: https://github.com/tangentlabs/django-oscar-jirafe
.. _Jirafe: https://jirafe.com/
.. _django-oscar-accounts: https://github.com/tangentlabs/django-oscar-accounts
.. _django-oscar-testsupport: https://github.com/tangentlabs/django-oscar-testsupport
.. _django-oscar-easyrec: https://github.com/tangentlabs/django-oscar-easyrec
.. _EasyRec: http://easyrec.org/

The following extensions are in development by Tangent:

* django-oscar-stripe_ - Integration with the Stripe_ payment gateway
* django-oscar-gocardless_ - Integration with the GoCardless_ payment gateway
* django-oscar-jirafe_ - Integration with the Jirafe_ analytics package
* django-oscar-parachute_ - Import scripts for migrating away from non-Oscar
platforms.
* django-oscar-approval_ - Approval workflow for authorising new
orders/products.

.. _django-oscar-stripe: https://github.com/tangentlabs/django-oscar-stripe
.. _django-oscar-stores: https://github.com/tangentlabs/django-oscar-stores
.. _django-oscar-parachute: https://github.com/tangentlabs/django-oscar-parachute
.. _django-oscar-approval: https://github.com/tangentlabs/django-oscar-approval
.. _Stripe: https://stripe.com

The following are community-written extensions:

* django-oscar-unicredit_ - Integration with the Unicredit payment gateway
* django-oscar-payments_ - Pluggable payments for Oscar
* django-oscar-recurly_ - Integration with the Recurly payment gateway
* django-oscar-erp_

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

.. _django-oscar-unicredit: https://bitbucket.org/marsim/django-oscar-unicredit/
.. _django-oscar-erp: https://bitbucket.org/zikzakmedia/django-oscar_erp
.. _django-oscar-payments: https://github.com/Lacrymology/django-oscar-payments
.. _django-oscar-recurly: https://github.com/mynameisgabe/django-oscar-recurly

License
-------

Oscar is released under the permissive `New BSD license`_.

.. _`New BSD license`: https://github.com/tangentlabs/django-oscar/blob/master/LICENSE

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:

Selected Tangent projects:

* Tata Group - http://www.landmarkonthenet.com
* Carlsberg - Their global "We Deliver More" platform is powered by Oscar (but
is a B2B site and not browsable by the public)
* Chocolate Box - https://www.thechocolatebox.com.au
* The UK Labour party - http://shop.labour.org.uk
* Meridian Audio - http://www.meridian-audio.co.uk
* Which Rightchoice - http://www.whichrightchoice.com
* Freetix - http://www.freetix.com.au/

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/landmark.thumb.png
:target: http://www.landmarkonthenet.com

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/carlsberg.cch.thumb.png
:target: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/carlsberg.cch.png

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/chocolatebox.thumb.png
:target: https://www.thechocolatebox.com.au

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/labourshop.thumb.png
:target: https://shop.labour.org.uk

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/meridian.thumb.png
:target: http://www.meridian-audio.co.uk

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/rightchoice.thumb.png
:target: http://www.whichrightchoice.com

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/freetix.thumb.png
:target: http://www.freetix.com.au/

Non-Tangent:

* Dolbeau - http://www.dolbeau.ca/
* Sobusa - http://www.sobusa.fr/
* Laivee - http://laivee.pl
* Colinss - http://colinss.com

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/dolbeau.thumb.png
:target: http://www.dolbeau.ca

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/sobusa.thumb.png
:target: http://www.sobusa.fr

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/laivee.thumb.png
:target: http://www.laivee.pl

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/screenshots/colinss.thumb.png
:target: http://www.colinss.com

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

.. image:: https://github.com/tangentlabs/django-oscar/raw/master/docs/images/logos/tangentlabs.jpg
:target: http://www.tangentlabs.co.uk/

Want an Oscar project build for you?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you are interested in having an Oscar project built for you, Tangent can
help. Please get in touch via `oscar@tangentlabs.co.uk`_

.. _`oscar@tangentlabs.co.uk`: mailto:oscar@tangentlabs.co.uk

Want to work on Oscar?
~~~~~~~~~~~~~~~~~~~~~~

`Tangent Labs`_ are currently looking for python hackers to work on Oscar as well
as some of other internal products and e-commerce projects. If this sounds
interesting, please email `recruitment@tangentlabs.co.uk`_.

The position is in Tangent's London offices and you must have the appropriate
visas to work here.

.. _`recruitment@tangentlabs.co.uk`: mailto:recruitment@tangentlabs.co.uk