Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/realpython/discover-flask
/ functions
Functions
47 in github.com/realpython/discover-flask
⨍
Functions
47
◇
Types & classes
14
↳
Endpoints
5
↓ 6 callers
Function
b
()
project/static/bootstrap.min.js:6
↓ 4 callers
Function
c
(c)
project/static/bootstrap.min.js:6
↓ 3 callers
Method
is_active
(self)
project/models.py:44
↓ 1 callers
Function
d
()
project/static/bootstrap.min.js:6
↓ 1 callers
Function
e
()
project/static/bootstrap.min.js:6
↓ 1 callers
Function
r
()
project/static/bootstrap.min.js:6
↓ 1 callers
Function
run_migrations_offline
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as w
migrations/env.py:27
↓ 1 callers
Function
run_migrations_online
Run migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context.
migrations/env.py:45
Method
__init__
(self, title, description, author_id)
project/models.py:17
Method
__init__
(self, name, email, password)
project/models.py:36
Method
__repr__
(self)
project/models.py:22
Method
__repr__
(self)
project/models.py:53
Function
cov
Runs the unit tests with coverage.
manage.py:27
Method
create_app
(self)
tests/base.py:10
Function
downgrade
()
migrations/versions/4a5b39003781_.py:30
Function
downgrade
()
migrations/versions/3e0014fa59ca_.py:23
Function
downgrade
()
migrations/versions/c1b2d6a2aa6_.py:23
Function
f
()
project/static/bootstrap.min.js:6
Method
get_id
(self)
project/models.py:50
Function
home
()
project/home/views.py:30
Method
is_anonymous
(self)
project/models.py:47
Method
is_authenticated
(self)
project/models.py:41
Function
load_user
(user_id)
project/__init__.py:36
Function
login
()
project/users/views.py:29
Function
logout
()
project/users/views.py:49
Function
register
()
project/users/views.py:57
Method
setUp
(self)
tests/base.py:14
Method
tearDown
(self)
tests/base.py:21
Function
test
Runs the unit tests without coverage.
manage.py:20
Method
test_check_password
(self)
tests/test_users.py:49
Method
test_correct_login
(self)
tests/test_users.py:63
Method
test_get_by_id
(self)
tests/test_users.py:40
Method
test_incorrect_login
(self)
tests/test_users.py:75
Method
test_incorrect_user_registeration
(self)
tests/test_users.py:30
Method
test_index
(self)
tests/test_basic.py:11
Method
test_login_page_loads
(self)
tests/test_users.py:58
Method
test_logout
(self)
tests/test_users.py:84
Method
test_logout_route_requires_login
(self)
tests/test_users.py:96
Method
test_main_route_requires_login
(self)
tests/test_basic.py:16
Method
test_posts_show_up_on_main_page
(self)
tests/test_basic.py:26
Method
test_user_can_post
(self)
tests/test_blog.py:11
Method
test_user_registeration
(self)
tests/test_users.py:17
Method
test_welcome_route_works_as_expected
(self)
tests/test_basic.py:21
Function
upgrade
()
migrations/versions/4a5b39003781_.py:17
Function
upgrade
()
migrations/versions/3e0014fa59ca_.py:17
Function
upgrade
()
migrations/versions/c1b2d6a2aa6_.py:17
Function
welcome
()
project/home/views.py:50