Commit bb5ff37a authored by Kacper Wikieł's avatar Kacper Wikieł

Fixed typo in code

No colon after function definition
parent 396b5069
...@@ -178,7 +178,7 @@ prefix to get the URL for a local view:: ...@@ -178,7 +178,7 @@ prefix to get the URL for a local view::
class MyView(BaseView): class MyView(BaseView):
@expose('/') @expose('/')
def index(self) def index(self):
# Get URL for the test view method # Get URL for the test view method
url = url_for('.test') url = url_for('.test')
return self.render('index.html', url=url) return self.render('index.html', url=url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment