No project description provided
Project description
Address model backed by Google Maps API for your project.
Getting Started
Installing
Install django-google-address:
pip install django-google-address
Add it to INSTALLED_APPS on settings.py:
INSTALLED_APPS = [ ..., 'google_address' ]
Migrate:
./manage.py migrate
Using
Create an Address object with the raw address. Requests will be made to the Google API when saving the address:
>>> from google_address.models import Address >>> a = Address(raw="Av. Paulista, 1000") >>> a.save() >>> a.address_line 'Avenida Paulista, 1000, Bela Vista, São Paulo, SP, Brazil'
Documentation
You can check the complete documentation here.
Testing
To test this module
python google_address/tests/runtests.py
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the MIT License. See the LICENSE.md file for details.
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
File details
Details for the file django-google-address-1.1.0.tar.gz
.
File metadata
- Download URL: django-google-address-1.1.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f7d1acf623f75f097e0f189a9cba7581467b2c1628374a4b445a6d0450578a7 |
|
MD5 | 5421830436b0d524d005329e2d2bef05 |
|
BLAKE2b-256 | 34a678d14c70f2550d7e4116c6b4b74c7f29eb2d48e26b1a90b56473ab2917cc |