Chnaged a bunch of behavior in blueprints for it to be more flexible. Improved backwards compat.
This commit is contained in:
parent
59a92ebd71
commit
abe1378cae
6 changed files with 50 additions and 54 deletions
|
|
@ -56,9 +56,9 @@ class Blueprint(_PackageBoundObject):
|
|||
_got_registered_once = False
|
||||
|
||||
def __init__(self, name, import_name, static_folder=None,
|
||||
static_url_path=None, url_prefix=None,
|
||||
subdomain=None):
|
||||
_PackageBoundObject.__init__(self, import_name)
|
||||
static_url_path=None, template_folder=None,
|
||||
url_prefix=None, subdomain=None):
|
||||
_PackageBoundObject.__init__(self, import_name, template_folder)
|
||||
self.name = name
|
||||
self.url_prefix = url_prefix
|
||||
self.subdomain = subdomain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue