Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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, mptt, and wagtailgeowidget to your INSTALLED_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 have Philadelphia County as a region with no parent, and Center City as a sub-region with Philadelphia 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 %}

Downloading Meetings as a PDF

To download the meeting list as a PDF, you must have wkhtmltopdf installed on your system. The end point for the download is meeting-guide/download/.

You can change the print and style options in your Django settings. The options are a Python dictionary while the styles are a string containing CSS:

WAGTAIL_MEETING_GUIDE_PRINT_OPTIONS = {
    'page-width': '100mm',
    'page-height': '120mm',
    'margin-top': '10mm',
    'margin-right': '10mm',
    'margin-bottom': '10mm',
    'margin-left': '10mm',
    'header-left': '[section]: [subsection]',
    'encoding': "UTF-8",
    'no-outline': None
}

WAGTAIL_MEETING_GUIDE_PRINT_STYLES = """
html, td {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  -webkit-text-size-adjust:100%;
  -ms-text-size-adjust:100%;
  color: red;
}

body {
  margin:0;
}

h1, .h1 {
  font-size: 24px;
}
"""

Release Notes

0.1

Maintainer

Metadata

Release files for wagtail-meeting-guide 0.1.dev13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-meeting-guide 0.1.dev13
File Size Uploaded Provenance Actions
wagtail-meeting_guide-0.1.dev13.tar.gz 599.7 kB Without provenance Details for wagtail-meeting_guide-0.1.dev13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-meeting-guide 0.1.dev13
File Interpreter ABI Platform Actions
wagtail_meeting_guide-0.1.dev13-py3-none-any.whl Python 3 none any Details for wagtail_meeting_guide-0.1.dev13-py3-none-any.whl

Total release size: 1.2 MB

Release files / wagtail-meeting_guide-0.1.dev13.tar.gz

Download URL wagtail-meeting_guide-0.1.dev13.tar.gz
Size 599.7 kB
Tags Source
SHA-256 checksum
How to use checksums
69a90fcd00a801dcf6be7560f99da4be5dc175790fc6a6cc5f2d953ff4fe5b15
BLAKE2b-256 checksum
How to use checksums
ae3e15e290f7f6a22f5cac1582491d32f90f32f2c9b3fd09837f549a50e3ff32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

Release files / wagtail_meeting_guide-0.1.dev13-py3-none-any.whl

Download URL wagtail_meeting_guide-0.1.dev13-py3-none-any.whl
Size 609.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92785720ef934d65f83078a5b7b1194ffb2090d0fbe2ab9c4baf92c0797ffcac
BLAKE2b-256 checksum
How to use checksums
9ad7c6b23af5c8addc7785c2639e91f12a3007d4886430250b267cccf34e6360
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

Security for wagtail-meeting-guide 0.1.dev13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page