Upgrade Instructions
Dropped support for Python 3.9
Use python 3.10, 3.11, 3.12, 3.13 or 3.14
Installed Apps
On the INSTALLED_APPS:
- Add
'crispy_bootstrap4', 'django_select2' and 'djrichtextfield'.
- Remove
'fontawesomefree'.
- Replace
django.contrib.admin with juntagrico.apps.JuntagricoAdminConfig
Serializer
The Pickle Serializer is no longer supported. Remove the setting SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer' to use the default serializer instead.
Richtext
The MAILER_RICHTEXT_OPTIONS setting has been removed and the configuration of richtext in the admin has changed.
See https://juntagrico.readthedocs.io/en/latest/intro/advanced.html#rich-text-editor
In your urls.py remove this line if it exists:
path('djrichtextfield/', include('djrichtextfield.urls')),
Email Backend
Set EMAIL_BACKEND='juntagrico.backends.email.EmailBackend' in your settings.py in any case. The DEFAULT_MAILER setting has been removed.
If you use BATCH_MAILER, see https://juntagrico.readthedocs.io/en/latest/reference/settings.html#batch-mailer
Email Templates
MAIL_TEMPLATE is deprecated. Move your custom template to templates/mails/email.html instead.
See https://juntagrico.readthedocs.io/en/latest/reference/settings.html#mail-template
Depot Lists
DEFAULT_DEPOTLIST_GENERATORS is deprecated. Use DEPOT_LISTS instead.
Member Features
- improve subscription selection form #821 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/825
- optimize display of flat subscription bundles by @pascalfree in https://github.com/juntagrico/juntagrico/pull/847
- Offer extra subscriptions during signup process by @pascalfree in https://github.com/juntagrico/juntagrico/pull/805
- improve co-member add form during signup by @pascalfree in https://github.com/juntagrico/juntagrico/pull/848
- Implement job frontpage configurations #520 by @nixnuex in https://github.com/juntagrico/juntagrico/pull/819
Admin Features
- Trial parts management #39 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/747
- Support Fractions of required assignments by @pascalfree in https://github.com/juntagrico/juntagrico/pull/783
- Allow Multiple area coordinators by @pascalfree in https://github.com/juntagrico/juntagrico/pull/787
- Allow multiple depot coordinators #340 by @nixnuex in https://github.com/juntagrico/juntagrico/pull/818
- More granular send mail permissions by @nixnuex in https://github.com/juntagrico/juntagrico/pull/652
- Option to enforce mail address confirmation at login #268 by @nixnuex in https://github.com/juntagrico/juntagrico/pull/817
- Email form overhaul by @pascalfree in https://github.com/juntagrico/juntagrico/pull/801
- Add form to copy one time jobs #731 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/826
- Refactor job conversion and add to front page by @pascalfree in https://github.com/juntagrico/juntagrico/pull/829
- New setting to require subscription during signup #607 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/834
- New setting to define depot lists #232 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/835
- Separate Products from Categories and allow multiple Products on Depot list by @pascalfree in https://github.com/juntagrico/juntagrico/pull/743
- Highlight first job of member #820 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/823
- Add weekday to tour by @pascalfree in https://github.com/juntagrico/juntagrico/pull/841
Fixes
- Add member to auto-add areas when joining first subscription by @pascalfree in https://github.com/juntagrico/juntagrico/pull/846
For Developers
- Remove PickleSerializer: refactor signup process and change date selection by @pascalfree in https://github.com/juntagrico/juntagrico/pull/753
- Refactor messages on top of page by @pascalfree in https://github.com/juntagrico/juntagrico/pull/782
- Implement external signup API #799 by @nixnuex in https://github.com/juntagrico/juntagrico/pull/814
- Upgrade dependencies by @pascalfree in https://github.com/juntagrico/juntagrico/pull/804
- Add Support for python 3.14 by @pascalfree in https://github.com/juntagrico/juntagrico/pull/839
- Use bootstrap icons by @pascalfree in https://github.com/juntagrico/juntagrico/pull/843
- cleanup legacy functions by @pascalfree in https://github.com/juntagrico/juntagrico/pull/844
Changed Templates
Added
admin/juntagrico/submit_line.html
exports/snippets/snippet_tour.html
exports/snippets/snippet_tour_header.html
exports/snippets/snippet_tour_overview.html
juntagrico/config/overview.html
juntagrico/config/snippets/bundles.html
juntagrico/config/snippets/categories.html
juntagrico/config/snippets/products.html
juntagrico/config/snippets/type.html
juntagrico/email/sent.html
juntagrico/email/snippets/signature_display.html
juntagrico/email/snippets/template_selection.html
juntagrico/email/widgets/file.html
juntagrico/email/write.html
juntagrico/form.html
juntagrico/form/layout/bundle_container.html
juntagrico/form/layout/parent_container.html
juntagrico/job/modals/convert_to_recurring.html
juntagrico/job/snippets/conversion_preview.html
juntagrico/job/snippets/modal_edit_assignment.html
juntagrico/mails/admin/job/first_signup.txt
juntagrico/mails/admin/job/first_signup_in_area.txt
juntagrico/mails/admin/job/first_signup_in_type.txt
juntagrico/mails/footer/area.html
juntagrico/mails/footer/depot.html
juntagrico/mails/footer/job.html
juntagrico/mails/member/subscription/part/canceled.txt
juntagrico/mails/member/subscription/trial/continue.txt
juntagrico/mails/signature.html
juntagrico/mails/signature.txt
juntagrico/manage/member/show_for_area.html
juntagrico/manage/subscription/modals/cancel_part.html
juntagrico/manage/subscription/modals/closeout_trial.html
juntagrico/manage/subscription/modals/deactivate_trial.html
juntagrico/manage/subscription/snippets/closeout_trial.html
juntagrico/manage/subscription/trial.html
juntagrico/modal.html
juntagrico/my/subscription/snippets/buttons/trial.html
juntagrico/my/subscription/trial/continue.html
juntagrico/share/form/field.html
juntagrico/snippets/subscription/type.html
juntagrico/snippets/subscription/type_container.html
juntagrico/subscription/create/form/no_extras_field.html
juntagrico/subscription/create/form/no_selection_field.html
juntagrico/subscription/create/select_extras.html
juntagrico/subscription/create/summary/extras.html
juntagrico/subscription/create/summary/snippets/part.html
mail_confirmation.html
messages/trial_sub.html
Modified
base.html
deliveries.html
depot_change.html
exports/amount_overview.html
exports/depot_overview.html
exports/depotlist.html
exports/snippets/snippet_depotlist_header.html
exports/snippets/snippet_depotlist_style.css
extra_change.html
home.html
job.html
jobs.html
js/i18n.js
juntagrico/job/snippets/edit_assignment.html
juntagrico/job/snippets/participant_list.html
juntagrico/manage/assignments.html
juntagrico/manage/base.html
juntagrico/manage/list.html
juntagrico/manage/member/canceled.html
juntagrico/manage/member/show.html
juntagrico/manage/member/snippets/email_linked.html
juntagrico/manage/member/snippets/phone_linked.html
juntagrico/manage/member/snippets/toggle_buttons.html
juntagrico/manage/share/canceled.html
juntagrico/manage/subscription/depot/changes.html
juntagrico/manage/subscription/pending.html
juntagrico/manage/subscription/recent.html
juntagrico/manage/subscription/snippets/parts_by_date.html
juntagrico/manage/subscription/snippets/row_class.html
juntagrico/menu/admin.html
juntagrico/menu/admin/activityareas.html
juntagrico/menu/admin/admin.html
juntagrico/menu/admin/assignments.html
juntagrico/menu/admin/depots.html
juntagrico/menu/admin/emails.html
juntagrico/menu/admin/lists.html
juntagrico/menu/admin/members.html
juntagrico/menu/admin/shares.html
juntagrico/menu/admin/subscriptions.html
juntagrico/my/area/snippets/intro.html
juntagrico/my/subscription/part/order.html
juntagrico/my/subscription/snippets/part_list.html
juntagrico/snippets/depot/select.html
juntagrico/snippets/subscription/depot_fee.html
mails/admin/depot_list_generated.txt
mails/email.html
mails/email.txt
mails/member/depot_changed.txt
manage_shares.html
messages/job_assigned.html
registration/login.html
size_change.html
snippets/impersonation_link.html
snippets/snippet_delivery.html
snippets/snippet_jobs.html
Moved
areas.html -> juntagrico/my/area/list.html
area.html -> juntagrico/my/area/show.html
messages/alert.html -> juntagrico/alert.html
forms/slider.html -> juntagrico/form/slider.html
depot.html -> juntagrico/my/depot/show.html
cancelmembership.html -> juntagrico/my/membership/cancel.html
profile.html -> juntagrico/my/membership/profile.html
part_change.html -> juntagrico/my/subscription/part/change.html
signup.html -> juntagrico/signup/member.html
createsubscription/add_member_cs.html -> juntagrico/subscription/create/add_member.html
createsubscription/select_depot.html -> juntagrico/subscription/create/select_depot.html
createsubscription/select_shares.html -> juntagrico/subscription/create/select_shares.html
createsubscription/select_start_date.html -> juntagrico/subscription/create/select_start_date.html
createsubscription/select_subscription.html -> juntagrico/subscription/create/select_subscription.html
createsubscription/summary.html -> juntagrico/subscription/create/summary.html
forms/layout/category_container.html -> juntagrico/form/layout/category_container.html
forms/no_subscription_field.html -> juntagrico/subscription/create/form/no_subscription_field.html
forms/subscription_type_field.html -> juntagrico/subscription/form/type/field.html
forms/subscription_type_option.html -> juntagrico/subscription/form/type/option.html
management_lists/inconsistent.html -> juntagrico/manage/subscription/inconsistent.html
management_lists/assignments.html -> juntagrico/manage/assignments.html
management_lists/member_canceledlist.html -> juntagrico/manage/member/canceled.html
management_lists/members.html -> juntagrico/manage/member/show.html
management_lists/share_canceledlist.html -> juntagrico/manage/share/canceled.html
management_lists/subscriptions.html -> juntagrico/manage/subscription/show.html
Removed
contact_member.html
export.html
forms/subscription_type_label.html
juntagrico/menu/admin/extra_subscriptions.html
mail_sender.html
mail_sender_result.html
management_lists/canceledlist.html
management_lists/extra_canceledlist.html
management_lists/extra_waitinglist.html
management_lists/man_list_base.html
management_lists/part_canceledlist.html
management_lists/part_waitinglist.html
management_lists/snippets/change_date.html
management_lists/snippets/deprecation_warning.html
management_lists/snippets/email_sender.html
management_lists/waitinglist.html
snippets/snippet_subscription_change_depot.html
snippets/snippet_subscription_change_extra_sub.html
snippets/snippet_subscription_change_main_member.html
snippets/snippet_subscription_change_nickname.html
snippets/snippet_subscription_change_size.html
subscription_change.html
Full Changelog: https://github.com/juntagrico/juntagrico/compare/1.7.9...2.0.0