|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, blueprint, app, options, first_registration) |
| def | add_url_rule (self, rule, endpoint=None, view_func=None, **options) |
Data Fields | |
| app | |
| blueprint | |
| options | |
| first_registration | |
| subdomain | |
| url_prefix | |
| url_defaults | |
Temporary holder object for registering a blueprint with the application. An instance of this class is created by the :meth:`~flask.Blueprint.make_setup_state` method and later passed to all register callback functions.
| def __init__ | ( | self, | |
| blueprint, | |||
| app, | |||
| options, | |||
| first_registration | |||
| ) |
| def add_url_rule | ( | self, | |
| rule, | |||
endpoint = None, |
|||
view_func = None, |
|||
| ** | options | ||
| ) |
A helper method to register a rule (and optionally a view function) to the application. The endpoint is automatically prefixed with the blueprint's name.
| app |
| blueprint |
| first_registration |
| options |
| subdomain |
| url_defaults |
| url_prefix |