Spaces:
Runtime error
Runtime error
Feat: register qr
Browse files
ice_breaking_challenge/__init__.py
CHANGED
@@ -45,6 +45,9 @@ def create_app(test_config=None):
|
|
45 |
# app.register_blueprint(auth.bp)
|
46 |
app.register_blueprint(index.bp)
|
47 |
|
|
|
|
|
|
|
48 |
# make url_for('index') == url_for('blog.index')
|
49 |
# in another app, you might define a separate main index here with
|
50 |
# app.route, while giving the blog blueprint a url_prefix, but for
|
|
|
45 |
# app.register_blueprint(auth.bp)
|
46 |
app.register_blueprint(index.bp)
|
47 |
|
48 |
+
from . import qr
|
49 |
+
app.register_blueprint(qr.bp)
|
50 |
+
|
51 |
# make url_for('index') == url_for('blog.index')
|
52 |
# in another app, you might define a separate main index here with
|
53 |
# app.route, while giving the blog blueprint a url_prefix, but for
|