This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# Django BR Locations

## Overview

This app do a reusable model and admin of CRUD cities and address of
Brazil

Image 1

Image 2

It has a two models abstracts in file `mixins.py` that will be used in your custom model if necessary

So you can build a custom City and Address Model extend of others Mixins and register it
in admin.

```
from django_br_address.mixins import CityMixin, AddressMixin

# models.py

class CustomCity(CityMixin, Mixin2, Mixin3)
pass

# admin.py
from django_br_address.admin import CityAdmin
from customapp.model import CustomCity

admin.site.unregister(CityAdmin)
admin.site.register(CustomCity)
```


## How to install

`pip install django-br-addresses`

## How to use

Put the app in settings installed apps.

```
INSTALLED APPS = [
'django-br-address'
]
```

### To use in django<1.7

```
SOUTH_MIGRATION_MODULES = {
'django-br-addresses.br_addresses': 'django-br-addresses.br_addresses.south_migrations',
}

```


## Running tests

Install the requirements in tests directory

`pip install -r requirements.txt`

Go to a tests directory and run the command below

```
python manage.py runstests.py
```



## Todo

1 - Do a geospatial localization of address with latitude and longitude
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-br-addresses-0.1.1.tar.gz (11.1 kB) Copy SHA256 Checksum SHA256 Source Dec 9, 2014

Supported By

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