Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 939 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 939 Bytes

SponsorsModule

SponsorsModule is a plugin that let you manage your sponsors.

One plugin is available to display all of your sponsors by range of donations.

The plugins's template can be customized.

Sponsors display

By default, the following variables are injected with:

  • Sponsors: An array of sponsors objects
  • Categories: An array of categories objects

To customize the template, simply copy paste the default template into your website.

Template configuration

In your settings.py, add the following entry:

SPONSORSMODULE_SPONSORSDISPLAY_TEMPLATES = [
    ('sponsorsModule/sponsors_display.html', 'Default'),
    ('components/sponsors_display.html', 'Sponsors Display')
];

You must have at least one template available in your components to be able to change it in the UI.