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

Uploaded Source

File details

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

File metadata

  • Download URL: wagtail_places-1.2.4.tar.gz
  • Upload date:
  • Size: 21.2 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.2.4.tar.gz
Algorithm Hash digest
SHA256 bfc0f734f9fa67464080747772dae0640780355477eab150d978e87653284244
MD5 7fc81abee3eecc4ba10477490bd983ff
BLAKE2b-256 da57149118b527427ca144b22fc2f49588bd13cd556af659d13404c258734e02

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