diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index bdadcf2b..b7831e58 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -15,7 +15,7 @@ from gluon.utils import web2py_uuid from gluon.tools import Config from gluon.compileapp import find_exposed_functions from glob import glob -from pydal._compat import iteritems, PY2, pickle, xrange, urlopen, to_bytes, StringIO, to_native +from gluon._compat import iteritems, PY2, pickle, xrange, urlopen, to_bytes, StringIO, to_native import shutil import platform @@ -1087,11 +1087,11 @@ def design(): redirect(URL('design', args=app)) else: session.flash = \ - T('unable to create application "%s"', request.vars.filename) - redirect(URL(r=request)) + T('unable to install plugin "%s"', filename) + redirect(URL(r=request, args=app)) elif isinstance(request.vars.pluginfile, str): session.flash = T('plugin not specified') - redirect(URL(r=request)) + redirect(URL(r=request, args=app)) # If we have only pyc files it means that # we cannot design diff --git a/applications/admin/views/wizard/step.html b/applications/admin/views/wizard/step.html index 39513c6b..48abd6d5 100644 --- a/applications/admin/views/wizard/step.html +++ b/applications/admin/views/wizard/step.html @@ -64,9 +64,9 @@ {{if request.function!='step6':}}
{{=form.custom.begin}} - {{ for fieldname in form.table.fields: }} + {{ for fieldname in form.table.fields: }} {{if fieldname is not 'id':}} - + {{=form.custom.widget[fieldname]}} {{if fieldname=='layout_theme':}} @@ -129,7 +129,7 @@
  • You can create an app with a name that already exists.
  • If you do not have an email server set email server to "logging".
  • If you want to use Janrain Engage for login: 1) Sign up for a Janrain Engage account; 2) Register you hostname, domain, and obtain an api key; 3) Set Login Config above to "domain:api_key".
  • -
  • ATTENTION: you can use the wizard to download plugins BUT we cannot guarantee the stability or backward compatibility of plugins. Moreover plugins may conflict with each other. Anyway, we do recommend installing plugin "wiki" with adds CMS like capabilities to your app.
  • +
  • ATTENTION: you can use the wizard to download plugins BUT we cannot guarantee the stability or backward compatibility of plugins. Moreover plugins may conflict with each other. Anyway, we do recommend installing plugin "wiki" which adds CMS-like capabilities to your app.
  • {{elif request.function=='step2':}}