Thanks for providing these extensions -- I started with Wagtail and then found CRX and it has been exactly what I was looking for to migrate an existing low-traffic non-profit website created by others in WordPress.
I've been able to do almost everything I planned, with one remaining exception. I would like to keep track of donors in such a way that they can be displayed in different page templates, using different filters for year and giving tier. I have a Donor snippet class in which I originally had the giving tier as a model field (based on IntegerChoices submodel) and the giving year specified using tags:
However, in looking forward I realize that a Donor's giving tier may change from year to year. Therefore, the giving tier and year need to be some sort of combinatorial field. I would also like to be able to keep track of and display giving history, so I don't want to simply update the giving tier each year if a donor gives in multiple years. This needs to be manageable through the admin interface. Being new to Django/Wagtail/CRX, the best I could think of was to create a separate snippet model to track this:
This seems to work to an extent, but it means creating a new DonorTier snippet instance for each combination of year and tier, as well as having an additional 'Donor Year-Tiers' area cluttering up the Snippets admin panel just to store this information. Is there a better way to do this, or at least a way that is more friendly for the site admins who will be managing this information?
Thanks for providing these extensions -- I started with Wagtail and then found CRX and it has been exactly what I was looking for to migrate an existing low-traffic non-profit website created by others in WordPress.
I've been able to do almost everything I planned, with one remaining exception. I would like to keep track of donors in such a way that they can be displayed in different page templates, using different filters for year and giving tier. I have a Donor snippet class in which I originally had the giving tier as a model field (based on
IntegerChoices
submodel) and the giving year specified using tags:However, in looking forward I realize that a Donor's giving tier may change from year to year. Therefore, the giving tier and year need to be some sort of combinatorial field. I would also like to be able to keep track of and display giving history, so I don't want to simply update the giving tier each year if a donor gives in multiple years. This needs to be manageable through the admin interface. Being new to Django/Wagtail/CRX, the best I could think of was to create a separate snippet model to track this:
and then add this as a field to
Donor
:This seems to work to an extent, but it means creating a new
DonorTier
snippet instance for each combination of year and tier, as well as having an additional 'Donor Year-Tiers' area cluttering up the Snippets admin panel just to store this information. Is there a better way to do this, or at least a way that is more friendly for the site admins who will be managing this information?Many thanks for any tips or guidance.