fix: update config for custom emails
per upstream changes
This commit is contained in:
parent
95f8ae318a
commit
1fb3ee10d0
|
@ -46,6 +46,10 @@ main = "rattail_tutorial.web.app:main"
|
||||||
rattail_tutorial = "rattail_tutorial.config:RattailTutorialConfig"
|
rattail_tutorial = "rattail_tutorial.config:RattailTutorialConfig"
|
||||||
|
|
||||||
|
|
||||||
|
[project.entry-points."rattail.emails"]
|
||||||
|
rattail_tutorial = "rattail_tutorial.emails"
|
||||||
|
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://rattailproject.org"
|
Homepage = "https://rattailproject.org"
|
||||||
repository = "https://kallithea.rattailproject.org/rattail-project/rattail-tutorial"
|
repository = "https://kallithea.rattailproject.org/rattail-project/rattail-tutorial"
|
||||||
|
|
|
@ -36,5 +36,4 @@ class RattailTutorialConfig(ConfigExtension):
|
||||||
def configure(self, config):
|
def configure(self, config):
|
||||||
|
|
||||||
# set some default config values
|
# set some default config values
|
||||||
config.setdefault('rattail.mail.emails', 'rattail_tutorial.emails')
|
|
||||||
config.setdefault('tailbone.menus.handler', 'rattail_tutorial.web.menus:TutorialMenuHandler')
|
config.setdefault('tailbone.menus.handler', 'rattail_tutorial.web.menus:TutorialMenuHandler')
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2019 Lance Edgar
|
# Copyright © 2010-2024 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -26,9 +26,6 @@ Custom email profiles
|
||||||
|
|
||||||
from rattail.mail import Email
|
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):
|
class rattail_import_sample_updates(Email):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue