|
|
|
@ -3,6 +3,7 @@ import pickle
@@ -3,6 +3,7 @@ import pickle
|
|
|
|
|
import re |
|
|
|
|
|
|
|
|
|
from collections import OrderedDict |
|
|
|
|
from pyramid.httpexceptions import HTTPFound |
|
|
|
|
from pyramid.config import Configurator |
|
|
|
|
from pyramid.response import Response |
|
|
|
|
from pyramid.view import view_config |
|
|
|
@ -126,7 +127,7 @@ def the_view(context, request):
@@ -126,7 +127,7 @@ def the_view(context, request):
|
|
|
|
|
) |
|
|
|
|
request.mailer.send_immediately(message) |
|
|
|
|
|
|
|
|
|
return Response(body=body, content_type='text/plain') |
|
|
|
|
return HTTPFound('/') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main(global_config, **settings): |
|
|
|
|