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.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74bc33981fe2a54f2fef17becb9fa57a6d49993e8e6c635d7c009f06ac06e2be |
|
MD5 | cf1abe1dfc3e2a5b9b203397ef3124a8 |
|
BLAKE2b-256 | 753d8469c664c4991788fadc4670ca4cce814de27ee10a86cd7f73c01d39ff98 |