Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for django-orders-flavor, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size django_orders_flavor-0.0.7-py2.py3-none-any.whl (14.7 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size django-orders-flavor-0.0.7.tar.gz (12.4 kB) File type Source Python version None Upload date Hashes View hashes

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page