Commits

Remco Wendt committed 03887cb

Fixes bug in blogserver handler adding mandatory request argument to read method

Comments (0)

Files changed (1)

examples/blogserver/api/handlers.py

     fields = ('title', 'content', ('author', ('username',)), 
               'created_on', 'content_length')
     
-    def read(self, title=None):
+    def read(self, request, title=None):
         """
         Returns a blogpost, if `title` is given,
         otherwise all the posts.