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.2.tar.gz (14.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: wagtail_places-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 74bc33981fe2a54f2fef17becb9fa57a6d49993e8e6c635d7c009f06ac06e2be
MD5 cf1abe1dfc3e2a5b9b203397ef3124a8
BLAKE2b-256 753d8469c664c4991788fadc4670ca4cce814de27ee10a86cd7f73c01d39ff98

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