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 logging
|
||||||
import simplejson
|
import simplejson
|
||||||
|
|
||||||
from pylons import request, tmpl_context as c
|
from pylons import request, response, tmpl_context as c
|
||||||
from pylons.i18n import N_, _
|
from pylons.i18n import N_, _
|
||||||
import formencode.api
|
import formencode.api
|
||||||
import formencode.validators
|
import formencode.validators
|
||||||
|
@ -131,7 +131,6 @@ developer name on all bug logs)'),
|
||||||
return "%s.%s" % (section, url)
|
return "%s.%s" % (section, url)
|
||||||
return section
|
return section
|
||||||
|
|
||||||
|
|
||||||
def index(self):
|
def index(self):
|
||||||
# Return a rendered template
|
# Return a rendered template
|
||||||
# return render('/some/template.mako')
|
# return render('/some/template.mako')
|
||||||
|
|
Loading…
Reference in a new issue