fix: update config for custom emails

per upstream changes
This commit is contained in:
Lance Edgar 2024-07-09 10:16:31 -05:00
parent 95f8ae318a
commit 1fb3ee10d0
3 changed files with 5 additions and 5 deletions

View file

@ -46,6 +46,10 @@ main = "rattail_tutorial.web.app:main"
rattail_tutorial = "rattail_tutorial.config:RattailTutorialConfig"
[project.entry-points."rattail.emails"]
rattail_tutorial = "rattail_tutorial.emails"
[project.urls]
Homepage = "https://rattailproject.org"
repository = "https://kallithea.rattailproject.org/rattail-project/rattail-tutorial"

View file

@ -36,5 +36,4 @@ class RattailTutorialConfig(ConfigExtension):
def configure(self, config):
# set some default config values
config.setdefault('rattail.mail.emails', 'rattail_tutorial.emails')
config.setdefault('tailbone.menus.handler', 'rattail_tutorial.web.menus:TutorialMenuHandler')

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2019 Lance Edgar
# Copyright © 2010-2024 Lance Edgar
#
# This file is part of Rattail.
#
@ -26,9 +26,6 @@ Custom email profiles
from rattail.mail import Email
# bring in some common ones from rattail
from rattail.emails import datasync_error_watcher_get_changes, filemon_action_error
class rattail_import_sample_updates(Email):
"""