Metadata-Version: 1.1
Name: django-br-addresses
Version: 0.1
Summary: A simple Django app to provide a CRUD of cities and address.
Home-page: UNKNOWN
Author: Lucas Simon Rodrigues Magalhaes
Author-email: lucassrod@gmail.com
License: BSD License
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'
        ]
        ```
        
        ## 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
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
