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_APP_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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-location-app-1.0.4.tar.gz.
File metadata
- Download URL: django-location-app-1.0.4.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.8 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
266c49bdc93a14dbdd5a29bf9328d4ff85c62defb9019b19e3fa480bd018708c
|
|
| MD5 |
b359b67c5c5a168b7b3b5221fafbf200
|
|
| BLAKE2b-256 |
be78ed2052f59d4061e244c8abc7c26b117699f6d470c5d411b936934369fc87
|
File details
Details for the file django_location_app-1.0.4-py3-none-any.whl.
File metadata
- Download URL: django_location_app-1.0.4-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.8 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f55b8943f104399e59bcbbfad363a4d194a97e56fbfeb249ca36318b1f58da2c
|
|
| MD5 |
4aef7da7495b25f09dba9c7fbac60ca5
|
|
| BLAKE2b-256 |
48376dc23f44b69c5d0660dbddc0cc17d6e91569bba7a3d839e0c38b9c1da594
|