A Django app that helps you easily manage your own location data with autocomplete function. Connect your app to a completely normalized location database, avoid redundant Google Map API queries and save your hard earned money.
Project description
django-location-app
A Django app that helps you easily create and manage your own location data. Simply get a google maps api key and configure your maps directly from your django project's settings. Map comes with autocomplete functionality and saves your location to a completely normalized location database. See below for ORM diagram
Quickstart
Install django-location-app available on pypy and add it to your INSTALLED_APPS in your project's settings.py file
pip install django-location-app
INSTALLED_APPS = (...
'location_app',
...
)
Get your Google MAPS API key from here and add it to the settings. It is always a good idea to store the key as an environment variable and access via os.environ.get(<name>)
. Learn more
LOC_MAPS_API_KEY = XXXXXXXXXXXXXXXXXXXXXX
To see if installation was successful, add the following to your project's urls.py file
from django.urls import path, include
urlpatterns += [path(('location/', include("location_app.urls")),]
If in dev, visit http://localhost:[Port]/location/ and you should see the following UI
ORM
- App tested locally. Proceed to make installable version
- Initial commit
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
Built Distribution
Hashes for django-location-app-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee49375ccb88331433f9e6cdf41c67564190c4a556666f8433874f04b13f335 |
|
MD5 | 5610e2292a9cf563d702f5041f6f095f |
|
BLAKE2b-256 | a1f67a371704fa187b112d5f59053facda9c2133a19fa66b1db7d4b018638114 |
Hashes for django_location_app-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545573c8d45e41f4242c600e8d8d1f2886db3f5f6862f46c00ad835e16d86ac1 |
|
MD5 | 31055e44e6d8477da96329be2f0b961f |
|
BLAKE2b-256 | 0ac519557d6098608d6532680e4bd7398025220a73d9b828b76165a2e1b4d3d6 |