summaryrefslogtreecommitdiffstats
path: root/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Use sqlalchemy, flask-migrate, flask-login and flask-scriptAlexander Sulfrian2016-01-101-53/+0
| | | | No peewee anymore. All dependencies are available as debian packages now.
* utils: add after_this_requestAlexander Sulfrian2014-11-191-1/+9
| | | | | | | With after_this_request you can simple set cookies. Used as a decorator, it registers a function as callback to be executed just before sending the response to the client. The callback will be executed with the response object as argument.
* group_change: add form/template/view to change a groupAlexander Sulfrian2014-11-191-1/+9
|
* utils: add Unique wtforms validatorAlexander Sulfrian2013-09-041-0/+17
| | | | | The Unique validator could check, if the value of the form field does not alreadyy exists in the database for a specific field of a peewee model.
* utils: add templated decorator from flask patternsAlexander Sulfrian2013-09-041-0/+20