forked from jan/debianmemberportfolio
add missing import of response from pylons
- from pylons import response was missing for JSON processing
This commit is contained in:
parent
cfdaecbfb2
commit
e643987d3d
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
import logging
|
||||
import simplejson
|
||||
|
||||
from pylons import request, tmpl_context as c
|
||||
from pylons import request, response, tmpl_context as c
|
||||
from pylons.i18n import N_, _
|
||||
import formencode.api
|
||||
import formencode.validators
|
||||
|
@ -131,7 +131,6 @@ developer name on all bug logs)'),
|
|||
return "%s.%s" % (section, url)
|
||||
return section
|
||||
|
||||
|
||||
def index(self):
|
||||
# Return a rendered template
|
||||
# return render('/some/template.mako')
|
||||
|
|
Loading…
Reference in a new issue