Versions

Finally 0.2.0 is out, and if you are using 0.1.47 or bellow, you must CHANGE the way you register you views.

It’s very simple, change this:

baseapp = BaseApp(app)
baseapp.add_view(GroupGeneralView, "List Groups","/groups/list","th-large","Contacts")
baseapp.add_view(PersonGeneralView, "List Contacts","/persons/list","earphone","Contacts")
baseapp.add_view(PersonChartView, "Contacts Chart","/persons/chart","earphone","Contacts")

To this:

baseapp = BaseApp(app)
baseapp.add_view(GroupGeneralView(), "List Groups","/groups/list","th-large","Contacts")
baseapp.add_view(PersonGeneralView(), "List Contacts","/persons/list","earphone","Contacts")
baseapp.add_view(PersonChartView(), "Contacts Chart","/persons/chart","earphone","Contacts")

Small change you just have to instantiate your classes.

Improvements and Bug fixes on 0.2.0

Improvements

  • Pagination on lists.
  • Inline (panels) will reload/return to the same panel (via cookie).
  • Templates with url_for.
  • BaseApp injects all necessary filter in jinja2, no need to import.
  • New Chart type, group by month and year.
  • No need to define route_base on View Classes, will assume class name in lower case.
  • No need to define labels for model’s columns, they will be prettified.
  • No need to define titles for list,add,edit and show views, they will be generated from the model’s name.
  • No need to define menu url when registering a BaseView will be infered from BaseView.defaultview.

Bug Fixes

  • OpenID pictures not showing.
  • Security reset password corrections.
  • Date null Widget correction.
  • list filter with text
  • Removed unnecessary keys from config.py on skeleton and examples.
  • Simple group by correction, when query does not use joined models.
  • Authentication with OpenID does not need reset password option.

Table Of Contents

Previous topic

Views

This Page