Meeting Guide compatible Python package for Django's Wagtail CMS: meetings, locations, and API.
Project description
Wagtail Meeting Guide
Meeting Guide compatible Python package for the Wagtail CMS on the Django web framework.
This is pre-alpha software, in active development!
Wagtail Meeting Guide requires both Wagtail 2.0 and Django 2.0.
Pre-Requisites
Using this package requires both the Wagtail CMS and Django. Wagtail and Django are fantastic for running your website, but require a developer. If you are new, I would recommend going through both the Django and Wagtail tutorials before trying to use this package.
A Google Geocode API key is also required.
Installation to Your Django Project
-
Install with the command
pip install wagtail-meeting-guide
-
Add
meeting_guide
andwagtailgmaps
to yourINSTALLED_APPS
. -
Add the following settings, including your Google Geocode API key:
-
Run migrations:
python manage.py migrate meeting_guide
-
Load Meeting Guide's meeting types:
python manage.py loaddata meeting_guide_types.json
Configuration
- Enter the Wagtail CMS, and go to
Settings
,Meeting Types
. - Enter your Intergroup's code for each of the Meeting Guide Code Types
- Go to
Regions
and enter your regions; regions can have a parent, so you can nest them. For example, you could havePhiladelphia County
as a region with no parent, andCenter City
as a sub-region withPhiladelphia County
as the parent.
Including the Meeting Guide in Your Django Template
The API end point for the locations and meetings you create in Wagtail has to be added to your site's root urls.py
. Add a line like this:
urlpatterns = [
...
path("meeting-guide/", include("meeting_guide.urls")),
...
]
You can include the Meeting Guide within any Django Template. Here is an example:
{% extends "base.html" %}
{% load meeting_guide %}
{% block content %}
{% meeting_guide %}
{% endblock content %}
Release Notes
0.1
Maintainer
- Timothy Allen (https://github.com/FlipperPA/)
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
Built Distribution
Hashes for wagtail-meeting_guide-0.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c0a0341545186d54d8f16c5055efd29714200db73d2b8791f03755d1e423f9f |
|
MD5 | 29ec9afff7e4d32482db2f9fb258e716 |
|
BLAKE2b-256 | 5069d7874869f96966dd860070665354157baeb2a954dce1cb5a6b8ee576cc1b |
Hashes for wagtail_meeting_guide-0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5237b15f6b368f6f54ee782014a157b04d00cec6db088332b47da13055f1c009 |
|
MD5 | 7c8e03a6a8df54d116d91ae001197d7a |
|
BLAKE2b-256 | ddbce8dc85c90a0e711f70ca30d3e8212c34d205c31efec12d39f6642283a268 |