--- a/doc/tutorials/advanced/part04_ui-base.rst Tue Sep 12 15:05:22 2017 +0200
+++ b/doc/tutorials/advanced/part04_ui-base.rst Fri Sep 15 14:14:46 2017 +0200
@@ -87,7 +87,7 @@
class IndexView(startup.IndexView):
def call(self, **kwargs):
self.w(u'<div>\n')
- if self._cw.cnx.anonymous_connection:
+ if self._cw.cnx.session.anonymous_session:
self.w(u'<h4>%s</h4>\n' % self._cw._('Public Albums'))
else:
self.w(u'<h4>%s</h4>\n' % self._cw._('Albums for %s') % self._cw.user.login)
@@ -317,8 +317,8 @@
To see if everything is ok on my test instance, I do: ::
- $ cubicweb-ctl i18ninstance sytweb
- $ cubicweb-ctl start -D sytweb
+ $ cubicweb-ctl i18ninstance sytweb_instance
+ $ cubicweb-ctl start -D sytweb_instance
The first command compile i18n catalogs (e.g. generates '.mo' files) for my test
instance. The second command start it in debug mode, so I can open my browser and