Skip to main content

Event pages for Wagtail

Project description

Wagtail Events Build Status

Events calendar management for wagtail, with tools for filtering by date.

This project is a hard fork of omni-wagtail-events, and we owe a debt of gratitude to those folks for getting us started. So why did I hard-fork (duplicate and start again) rather than fork from omni-digital?

  • Well, github keeps the releases of the repo you fork from. I want to put this on pypi so it's easily available, and have control of the release versioning (which isn't close to ready for v1.x where it started with omni-digital), so it needs to be here.
  • I'm basically about to break everything for django 2.x and wagtail 2.x, so I'd need a major version bump anyway, and figured that the chances of getting my changes merged into the upstream were nil.
  • The rich text fields make omni-wagtail-events a nightmare to use in headless API mode, and mean that most of the events data is unstructured. Here, we move to Wagtail's StreamField... but that creates a migration headache unless we start fresh.
  • The migrations in the original project won't work with an in-memory database, so testing is slow.
  • I've majorly simplified the model structure to singleton events. I think this is all that's reqiured in 99.9% of cases.

I'm extremely open to collaboration - in fact, I really don't want to be maintaining this (it's only for one client) so I'm open to transferring ownership or collaboration to anyone who wants to take this on and enhance it. @omni-digital, this originated as your baby so if you'd like to take back maintenance, please reach out and I'll help you.

Requirements

Wagtail events requires Django 2.1 or later and Wagtail 2.3 or later.

Supported Versions

Python: 3.6

Django: 2.1

Wagtail: 2.3

Getting started

Installing from pip:

pip install wagtail_events

Adding to INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    'wagtail_events',
    ...
]

Running the migrations:

python manage migrate wagtail_events

Models

EventIndex

An index/listing page for EventSeries instances, with optional pagination.

Event

A detail page for an event, with start_date and optional end_date, implementing a manager which allows filtering on those dates.

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_events-0.2.7.tar.gz (12.1 kB view details)

Uploaded Source

File details

Details for the file wagtail_events-0.2.7.tar.gz.

File metadata

  • Download URL: wagtail_events-0.2.7.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for wagtail_events-0.2.7.tar.gz
Algorithm Hash digest
SHA256 a1af85fbf3648e1d6c96a1b198d834baa26972f4d8754517a557d9a73a1a6e72
MD5 bbb5e4dd9b5fa0d86894d6738a2ea378
BLAKE2b-256 f44a18e28a4c8e598cc468ad24c8dcdad7a6c1a41ae7772118c78f0b0a00fc5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page