parent
74b3f7e04c
commit
46f83665ef
4 changed files with 30 additions and 17 deletions
|
|
@ -90,10 +90,10 @@ class Blueprint(_PackageBoundObject):
|
|||
_got_registered_once = False
|
||||
|
||||
#: Blueprint local JSON decoder class to use.
|
||||
# Set to None to use the :class:`~flask.app.Flask.json_encoder`.
|
||||
#: Set to ``None`` to use the app's :class:`~flask.app.Flask.json_encoder`.
|
||||
json_encoder = None
|
||||
#: Blueprint local JSON decoder class to use.
|
||||
# Set to None to use the :class:`~flask.app.Flask.json_decoder`.
|
||||
#: Set to ``None`` to use the app's :class:`~flask.app.Flask.json_decoder`.
|
||||
json_decoder = None
|
||||
|
||||
def __init__(self, name, import_name, static_folder=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue