Skip to main content

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.

Project details


Download files

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

Source Distribution

django-shipping-0.0.8.tar.gz (40.8 kB view details)

Uploaded Source

File details

Details for the file django-shipping-0.0.8.tar.gz.

File metadata

File hashes

Hashes for django-shipping-0.0.8.tar.gz
Algorithm Hash digest
SHA256 21fd275e36d641cd9dd956fee0359f7b40df6fcd21848397d1dab30f8fba19bf
MD5 695506195f2a6f201a7990665f96ab72
BLAKE2b-256 1e7bf1a2688c57819c67dc9b3f14d45bcce0c691517b384a6c39b82aedba3a39

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page