Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django shipping tool

Project Description

django-shipping
===============

Django Shipping is a django application that provides integration with Correios (federal brazilian carrier) and UPS (international carrier).


## Installation

Anyway, let's install this bitch! The first thing you'll want to do is run:

``` bash
$ pip install django-shipping
```

Put ``shippging`` in your ``INSTALLED_APPS``:

``` python
# settings.py

INSTALLED_APPS = (
# ...
'shipping',
)

```

Put ``shipping.urls`` in your ``urls.py``:

``` python
# urls.py

from django.conf.urls.defaults import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
# ...

url(r'^shipping/', include('shipping.urls')),
url(r'^admin/', include(admin.site.urls)),
))

```


You need to run shipping migrations. We use [south](http://south.readthedocs.org/en/latest/index.html) for this, go to your ``project`` dir and make:

``` bash
$ python manage.py migrate shipping
```

## Using

Now, start your django application and go to admin:

``` bash
$ python manage.py runserver
```

In django's admin you wi'll see the shipping models: ``Zone``, ``Country``, ``State``, ``Bin``, ``UPSCarrier`` and ``CorreiosCarrier``. You need to create one instance for each carrier that you'll use
for shipping.

Release History

This version
History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
django-shipping-0.0.8.tar.gz
(40.8 kB) Copy SHA256 Hash SHA256
Source Jun 7, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting