Skip to main content

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

https://user-images.githubusercontent.com/22666819/111712391-ead51c80-8823-11eb-96a3-9eb55f3cbe4c.mp4

ORM

image

  • 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

django-location-app-1.0.4.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_location_app-1.0.4-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

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

Hashes for django-location-app-1.0.4.tar.gz
Algorithm Hash digest
SHA256 266c49bdc93a14dbdd5a29bf9328d4ff85c62defb9019b19e3fa480bd018708c
MD5 b359b67c5c5a168b7b3b5221fafbf200
BLAKE2b-256 be78ed2052f59d4061e244c8abc7c26b117699f6d470c5d411b936934369fc87

See more details on using hashes here.

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

Hashes for django_location_app-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f55b8943f104399e59bcbbfad363a4d194a97e56fbfeb249ca36318b1f58da2c
MD5 4aef7da7495b25f09dba9c7fbac60ca5
BLAKE2b-256 48376dc23f44b69c5d0660dbddc0cc17d6e91569bba7a3d839e0c38b9c1da594

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page