Skip to content

Ticketing

Sam Osborne edited this page Jun 18, 2020 · 5 revisions

The ticket listings are provided to the website from the Ticketing Website. This is a Django website using the Django REST Framework API.

The website allows you to display ticket listings on any page you'd like, through setting layout: whats-on. Currently, the ticket listings will appear below the main content of the page (See #90).

Ticketing Full List

Which shows to display?

When using the whats-on layout, you also need to supply a shows_url, which can display all of the shows, or filter to shows of a specific category (typically a season):

  • shows_url: /api/shows: All shows
  • shows_url: /api/shows/filter/fringe: All Fringe season shows

This is useful for things like the StuFF page, as shows may be advertised while In House shows are still ongoing. There is currently no way to selectively exclude categories.

Formatting

You can also modify the shows are displayed, by setting mini_list: true. It is false by default. When set to false, you get the large card-view list with posters that you find on the home page (see above).

Setting mini_list: true will give you a smaller list of shows. This is designed for one-shot festivals (StuFF), rather than listing shows that have multiple occurrences (see #91).

Ticketing Mini List

Clone this wiki locally