Skip to main content

Django app for orders

Project description

Pypi Wheel Build Status Codecov Code Climate

Django orders app.

Dependencies

  • Python ≥ 3.4
  • Django ≥ 1.11

Installation

Install last stable version from Pypi.

pip install django-orders-flavor

Add orders to your INSTALLED_APPS setting.

INSTALLED_APPS = (
    ...
    'django_filters',
    'oauth2_provider',
    'paypal.standard.ipn',
    'rest_framework',
    ...
    'core_flavor.apps.CoreAppConfig',
    'countries.apps.CountriesAppConfig',
    'orders.apps.OrdersAppConfig'
)

Hook the Django urls into your URLconf.

from django.conf.urls import include, url

urlpatterns = [
    url(r'^', include(
        'orders.api.urls',
        namespace='orders-flavor-api')),

    url(r'^paypal/', include('paypal.standard.ipn.urls'))
]

Apply migrations.

python manage.py migrate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_orders_flavor-0.0.7-py2.py3-none-any.whl (14.7 kB) Copy SHA256 hash SHA256 Wheel 3.6 Dec 16, 2017
django-orders-flavor-0.0.7.tar.gz (12.4 kB) Copy SHA256 hash SHA256 Source None Dec 16, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page