weppy 0.4 (codename Deneb)
Changes since v0.3:
- Intruduced a real ORM inside weppy:
- Consequent new features:
belongs_to
,has_one
andhas_many
apis for relations- Automatic joins of attributes defined with new apis
- Cleaner
Model
definition syntax - New naming convention based on singular for model and plural for tables
- Automatic tablenames based on
Model
classes' names
- Consequent changes:
- Fields are now defined as attributes of
Model
- Some
Field
types are now procesed also considering the pythonic naming
('integer' -> 'int', 'boolean' -> 'bool') Field
class doesn't accept 'name' (first) parameter anymoreModel.entity
is now the more correctModel.table
Form
andDALForm
classes now accepts dictionaries of fields
instead of listsAuth
module has tablenames changed to new naming convention
- Fields are now defined as attributes of
- Consequent new features:
- Completely refactored validators
- Introduced new validation syntax using dictionaries
Auth
now includes virtualfields on sessionuser
object- Dropped python 2.6.x support
- Bugfixes in forms
- Refactored
Auth
module - Added
body
parameter toabort
helper (optional) - Updated jQuery to v1.11.3