Skip to main content

An application made for the Django Web Framework.

Project description

wagtail-places

This app was mainly created to easily add multiple locations to a page in a Wagtail site.

This can be useful to improve SEO, show locations of your business on a map, etc.

Example Use Case

A client has a single store, but ships/does work across multiple cities.

The store will likely only show up if someone searches the name of the store, or a related keyword and the location/city name of where the store is located.
Let's say the store is located in New York, but the client also ships to Los Angeles, Chicago, and Miami.

When someone searches for "<keyword> in Los Angeles", the client's store will not show up in the search results, because the store is located in New York.

We aim to improve this by allowing a list of locations to be added to a PlacesPage, so that when someone searches for "<keyword> in Los Angeles", the client's store will show up in the search results.

In short, the goal is to add a "place" for each city the client ships to, and the client's store will show up in the search results for each of those cities.

Quick start

  1. Install the package via pip:

    pip install wagtail-places
    
  2. Add 'places' to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
    ...,
       'places',
    ]
    
  3. Go to the pages section in the Wagtail admin and create a new page with the 'Places' page type.

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

wagtail_places-1.0.1.tar.gz (14.0 kB view details)

Uploaded Source

File details

Details for the file wagtail_places-1.0.1.tar.gz.

File metadata

  • Download URL: wagtail_places-1.0.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for wagtail_places-1.0.1.tar.gz
Algorithm Hash digest
SHA256 864f47898c1991b77bd24b7b019fbdccd6605c02901b94b5d5d2f54ed6135293
MD5 931f386918f515cdcd1d207dfeb880c4
BLAKE2b-256 40d4678519efbb6b00168b7c6345ff2af8ed06d7e4884588cdced9b7c14970ea

See more details on using hashes here.

Supported by

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