Browse Source

added pyramid_mailer to requirements

master
Holger Frey 7 years ago
parent
commit
d8dd9f629b
  1. 3
      .gitignore
  2. 17
      development.ini
  3. 4
      docs/installation.rst
  4. 1
      setup.py

3
.gitignore vendored

@ -1,6 +1,9 @@ @@ -1,6 +1,9 @@
# ignore sqlite database
ordr2.sqlite
# ignore deform templates, only copied to have them available
ordr2/templates/original_deform_templates/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

17
development.ini

@ -12,18 +12,33 @@ pyramid.debug_notfound = false @@ -12,18 +12,33 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_mailer.debug
pyramid_debugtoolbar
pyramid_jinja2
sqlalchemy.url = sqlite:///%(here)s/ordr2.sqlite
passlib.config = %(here)s/passlib.ini
# automatic CSRF token validation on each POST resquest
session.auto_csrf = true
# cache duration in seconds for static pages
static_views.cache_max_age = 0
# change these
# secrets for session and authentication
# CHANGE IN PRODUCTION!
auth.secret = Change Me!
session.secret = 4d72ee16df8cf1238048ade32e3ce4d51757af8ada4a962cfae5cea5c08421a0
# time a user token is valid (in minutes)
token_expiry.change_email = 120
token_expiry.reset_password = 120
token_expiry.user_registration = 120
# email delivery
mail.host = localhost
mail.port = 2525
mail.default_sender = ordr@example.com
# By default, the toolbar only appears for clients from IP addresses
# '127.0.0.1' and '::1'.

4
docs/installation.rst

@ -69,10 +69,12 @@ pyramid @@ -69,10 +69,12 @@ pyramid
pyramid_debugtoolbar
debugging the web application in the browser
pyramid_jinja2
Jina2 templating engine for the pyramid web framework
pyramid_mailer
send emails, uses the transaction manager
pyramid_nacl_session
Session object with encryption

1
setup.py

@ -17,6 +17,7 @@ requirements = [ @@ -17,6 +17,7 @@ requirements = [
'pyramid',
'pyramid_jinja2',
'pyramid_debugtoolbar',
'pyramid_mailer',
'pyramid_nacl_session',
'pyramid_tm',
'SQLAlchemy',