Metadata-Version: 2.1
Name: django-address-app
Version: 0.1.1
Summary: Django models for storing and retrieving postal addresses.
Home-page: https://github.com/onufrienkovi/django-address-app
Author: Vyacheslav Onufrienko
Author-email: onufrienkovi@gmail.com
License: UNKNOWN
Description: # django-address-app
        
        Welcome to Django Address
        
        [![Python Version](https://img.shields.io/badge/python-3.8-blue)](https://www.python.org/)
        [![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
        [![wemake.services](https://img.shields.io/badge/%20-wemake.services-green.svg?label=%20&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake.services)
        
        
        ## Quickstart
        
        Install
        
        ```console
        pip install django-address-app
        ```
        
        Add them to your INSTALLED_APPS:
        ```python
        INSTALLED_APPS = [
            ...
            'django_address',
            ...
        ]
        ```
        
        If you want to use your models and don't want to subclass Abstract models, you must inform django_address about your models in settings.py:
        
        ```python
        # myproject/settings.py
        DJANGO_ADDRESS_COUNTRY_MODEL = "my_app.Country"
        DJANGO_ADDRESS_REGION_MODEL = "my_app.Region" # or my_app.State, my_app.Province, etc..
        DJANGO_ADDRESS_DISTRICT_MODEL = "my_app.District" # or my_app.County
        DJANGO_ADDRESS_LOCALITY_MODEL = "my_app.Locality"
        DJANGO_ADDRESS_STREET_MODEL = "my_app.Street"
        DJANGO_ADDRESS_ADDRESS_MODEL = "my_app.Address"
        ```
        
        If you want change behavior processing AddressField, you can use your Service
        
        ```python
        # myproject/settings.py
        DJANGO_ADDRESS_SERVICE_CLASS = "django_address.service.Address"
        ```
        
        ## Prerequisites
        
        You will need:
        
        - `python3.8` (see `pyproject.toml` for full version)
        - `django` with version `3.0`
        
        
        ## Development
        
        When developing locally, we use:
        
        - [`editorconfig`](http://editorconfig.org/) plugin (**required**)
        - [`pipenv`](https://github.com/pypa/pipenv) (**required**)
        - `pycharm 2017+` or `vscode`
        
        
        ## Alternatives
           - [django-address](https://github.com/furious-luke/django-address)
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: test
Provides-Extra: lint
Provides-Extra: dev
