Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cburmeister/flask-bones
/ functions
Functions
69 in github.com/cburmeister/flask-bones
⨍
Functions
69
◇
Types & classes
12
↳
Endpoints
8
↓ 5 callers
Method
login
(self, username, password)
tests.py:25
↓ 3 callers
Method
update
(self, commit=True, **kwargs)
app/database.py:24
↓ 2 callers
Function
create_app
Returns an initialized Flask application.
app/__init__.py:17
↓ 2 callers
Method
filter
Filters the query based on a field & value.
app/database.py:104
↓ 2 callers
Method
save
(self, commit=True)
app/database.py:29
↓ 1 callers
Method
__init__
(self, *args, **kwargs)
app/user/forms.py:16
↓ 1 callers
Method
check_password
(self, password)
app/user/models.py:37
↓ 1 callers
Method
create
(cls, **kwargs)
app/database.py:20
↓ 1 callers
Function
create_db
Creates the database.
app/commands.py:37
↓ 1 callers
Method
delete
(self, commit=True)
app/database.py:35
↓ 1 callers
Method
delete_user
(self, uid)
tests.py:46
↓ 1 callers
Function
drop_db
Drops the database.
app/commands.py:42
↓ 1 callers
Method
edit_user
(self, user, email)
tests.py:40
↓ 1 callers
Method
get_by_id
(cls, id)
app/database.py:13
↓ 1 callers
Method
get_selected
(self, request)
app/database.py:70
↓ 1 callers
Method
paginate
Paginate the query based on a page & limit.
app/database.py:117
↓ 1 callers
Function
register_blueprints
Register blueprints with the Flask application.
app/__init__.py:70
↓ 1 callers
Function
register_commands
Register custom commands for the Flask CLI.
app/__init__.py:50
↓ 1 callers
Function
register_errorhandlers
Register error handlers with the Flask application.
app/__init__.py:76
↓ 1 callers
Function
register_extensions
Register extensions with the Flask application.
app/__init__.py:56
↓ 1 callers
Function
register_jinja_env
Configure the Jinja env to enable some functions in templates.
app/__init__.py:90
↓ 1 callers
Method
register_user
(self, username, email, password)
tests.py:31
↓ 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:31
↓ 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:50
↓ 1 callers
Method
search
Filters the query based on a list of fields & search query.
app/database.py:110
↓ 1 callers
Method
set_password
(self, password)
app/user/models.py:33
↓ 1 callers
Method
sort
Sorts the data based on a field & order.
app/database.py:98
Method
__init__
(self, model, columns, sortable, searchable, filterable, limits, request)
app/database.py:51
Method
__init__
(self, *args, **kwargs)
app/auth/forms.py:13
Method
__init__
(self, *args, **kwargs)
app/user/forms.py:39
Method
__init__
(self, password, **kwargs)
app/user/models.py:26
Method
__repr__
(self)
app/user/models.py:30
Method
_columns
(self)
app/database.py:78
Function
before_request
Prepare some things before the application handles a request.
app/__init__.py:36
Method
colspan
Length of all columns.
app/database.py:94
Method
concat
(self, out, hunks, **kw)
app/assets.py:10
Function
delete
(id)
app/user/views.py:48
Function
downgrade
()
migrations/versions/1fb7c6da302_.py:33
Function
edit
(id)
app/user/views.py:33
Method
filterables
(self)
app/database.py:90
Function
get_locale
Returns the locale to be used for the incoming request.
app/__init__.py:28
Function
index
Returns the applications index page.
app/__init__.py:43
Function
list
()
app/user/views.py:12
Function
load_user
(id)
app/auth/views.py:16
Function
login
()
app/auth/views.py:21
Function
logout
()
app/auth/views.py:39
Function
populate_db
Populates the database with seed data.
app/commands.py:9
Function
process_revision_directives
(context, revision, directives)
migrations/env.py:61
Function
recreate_db
Same as running drop_db() and create_db().
app/commands.py:48
Function
register
()
app/auth/views.py:46
Function
render_error
(e)
app/__init__.py:79
Method
searchables
(self)
app/database.py:86
Function
send_registration_email
Sends a registratiion email to the given uid.
app/jobs.py:9
Method
setUp
(self)
tests.py:17
Method
sortables
(self)
app/database.py:82
Method
tearDown
(self)
tests.py:22
Method
test_404
(self)
tests.py:49
Method
test_delete_user
(self)
tests.py:79
Method
test_edit_user
(self)
tests.py:73
Method
test_index
(self)
tests.py:53
Method
test_login
(self)
tests.py:57
Method
test_logout
(self)
tests.py:61
Method
test_register_user
(self)
tests.py:66
Method
test_user_list
(self)
tests.py:85
Function
upgrade
()
migrations/versions/1fb7c6da302_.py:17
Function
url_for_other_page
Returns a URL aimed at the current request endpoint and query args.
app/utils.py:4
Method
validate
(self)
app/auth/forms.py:17
Method
validate
(self)
app/user/forms.py:43
Function
verify
(token)
app/auth/views.py:75