Django package for location services.
- Free software: BSD-3-Clause
- Documentation: https://django-location-api.readthedocs.io.
django-location-api is a Django app for location services.
Detailed documentation is in the "docs" directory.
Add "location_api" and the other required packages to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., "rest_framework", "rest_framework_gis", "location_api" ]
Include the location_api URL conf in your project urls.py like this:
path("api/", include("location_api.urls")), path("", include("location_api.urls.search")),
Run
python manage.py migrate
to create the location models.Start the development server and visit the admin site to create a location.
Access the
/locations/
URL.
docker compose run --rm django python ./runtests.py
This package was created with Cookiecutter and the briggySmalls/cookiecutter-pypackage project template.