Project

General

Profile

Bug #5270

Add decorators and helpers which are usefull to many projects.

Added by Jan Klopper over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PageMaker
Target version:
-
Start date:
2017-08-17
Due date:
% Done:

0%

Estimated time:

Description

We should add various decorators to the default setup.
  • xsrfcheck
    • Checks if the invalid_xsrf flag has not been raised
  • haspost
    • Checks if post fields are available
  • isloggedin
    • Checks to see if there is a valid uweb login session available.

These should return various stub functions which raise NotImplementedErrors untill the user overwrites them.

Also available in: Atom PDF