Skip to main content

A simple Django app to provide a CRUD of cities and address.

Project description

# Django BR Locations

## Overview

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

Image 1

Image 2

It has a two models abstracts in file `` 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


class CustomCity(CityMixin, Mixin2, Mixin3)

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

## How to install

`pip install django-br-addresses`

## How to use

Put the app in settings installed apps.


### To use in django<1.7

'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


## Todo

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

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-br-addresses-0.1.1.tar.gz (11.1 kB view hashes)

Uploaded source

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