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
-
Install the package via pip:
pip install wagtail-places
-
Add 'places' to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., 'places', ]
-
Go to the pages section in the Wagtail admin and create a new page with the 'Places' page type.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file wagtail_places-1.1.3.tar.gz
.
File metadata
- Download URL: wagtail_places-1.1.3.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b94c8f503efc58ebe8cebaacdf7a589486fe2bf59cd88668c78804df0f81f35 |
|
MD5 | de4d3535dda45f5622ee979553849100 |
|
BLAKE2b-256 | 55861365c15d5925785d6a34bd0a01a5bb97224a390c87dbc439d6e3386b991b |