summaryrefslogtreecommitdiff
path: root/sw/__init__.py
diff options
context:
space:
mode:
authorTom Harley2021-07-06 18:30:31 +0000
committerTom Harley2021-07-06 18:30:31 +0000
commit0a0007dee01f2bf17371967105a6ab3c43f85550 (patch)
tree9e01b8fa0f677a6bcd650afbb022c67a53ef3b4b /sw/__init__.py
parentAdd nixfmt to project (diff)
downloadswap-0a0007dee01f2bf17371967105a6ab3c43f85550.tar.gz
swap-0a0007dee01f2bf17371967105a6ab3c43f85550.zip

Begin work on adding user interaction

This commit adds support for getting information about a user, as well as accessing their inbox (not actually getting a CollectionPage yet, though).

Currently the inbox does not require the right user to be logged in to access their personal inbox; this should be fixed.

Diffstat (limited to 'sw/__init__.py')
-rw-r--r--sw/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/__init__.py b/sw/__init__.py
index 2601940..b4224fb 100644
--- a/sw/__init__.py
+++ b/sw/__init__.py
@@ -2,7 +2,7 @@ import os
from flask import Flask
-from sw import auth, ap, db
+from sw import auth, ap, db, users
def create_app(test_config=None):
@@ -31,5 +31,6 @@ def create_app(test_config=None):
app.register_blueprint(auth.bp)
app.register_blueprint(ap.bp)
+ app.register_blueprint(users.bp)
return app