MCPcopy Create free account

hub / github.com/cburmeister/flask-bones / functions

Functions69 in github.com/cburmeister/flask-bones

↓ 5 callersMethodlogin
(self, username, password)
tests.py:25
↓ 3 callersMethodupdate
(self, commit=True, **kwargs)
app/database.py:24
↓ 2 callersFunctioncreate_app
Returns an initialized Flask application.
app/__init__.py:17
↓ 2 callersMethodfilter
Filters the query based on a field & value.
app/database.py:104
↓ 2 callersMethodsave
(self, commit=True)
app/database.py:29
↓ 1 callersMethod__init__
(self, *args, **kwargs)
app/user/forms.py:16
↓ 1 callersMethodcheck_password
(self, password)
app/user/models.py:37
↓ 1 callersMethodcreate
(cls, **kwargs)
app/database.py:20
↓ 1 callersFunctioncreate_db
Creates the database.
app/commands.py:37
↓ 1 callersMethoddelete
(self, commit=True)
app/database.py:35
↓ 1 callersMethoddelete_user
(self, uid)
tests.py:46
↓ 1 callersFunctiondrop_db
Drops the database.
app/commands.py:42
↓ 1 callersMethodedit_user
(self, user, email)
tests.py:40
↓ 1 callersMethodget_by_id
(cls, id)
app/database.py:13
↓ 1 callersMethodget_selected
(self, request)
app/database.py:70
↓ 1 callersMethodpaginate
Paginate the query based on a page & limit.
app/database.py:117
↓ 1 callersFunctionregister_blueprints
Register blueprints with the Flask application.
app/__init__.py:70
↓ 1 callersFunctionregister_commands
Register custom commands for the Flask CLI.
app/__init__.py:50
↓ 1 callersFunctionregister_errorhandlers
Register error handlers with the Flask application.
app/__init__.py:76
↓ 1 callersFunctionregister_extensions
Register extensions with the Flask application.
app/__init__.py:56
↓ 1 callersFunctionregister_jinja_env
Configure the Jinja env to enable some functions in templates.
app/__init__.py:90
↓ 1 callersMethodregister_user
(self, username, email, password)
tests.py:31
↓ 1 callersFunctionrun_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 callersFunctionrun_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 callersMethodsearch
Filters the query based on a list of fields & search query.
app/database.py:110
↓ 1 callersMethodset_password
(self, password)
app/user/models.py:33
↓ 1 callersMethodsort
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
Functionbefore_request
Prepare some things before the application handles a request.
app/__init__.py:36
Methodcolspan
Length of all columns.
app/database.py:94
Methodconcat
(self, out, hunks, **kw)
app/assets.py:10
Functiondelete
(id)
app/user/views.py:48
Functiondowngrade
()
migrations/versions/1fb7c6da302_.py:33
Functionedit
(id)
app/user/views.py:33
Methodfilterables
(self)
app/database.py:90
Functionget_locale
Returns the locale to be used for the incoming request.
app/__init__.py:28
Functionindex
Returns the applications index page.
app/__init__.py:43
Functionlist
()
app/user/views.py:12
Functionload_user
(id)
app/auth/views.py:16
Functionlogin
()
app/auth/views.py:21
Functionlogout
()
app/auth/views.py:39
Functionpopulate_db
Populates the database with seed data.
app/commands.py:9
Functionprocess_revision_directives
(context, revision, directives)
migrations/env.py:61
Functionrecreate_db
Same as running drop_db() and create_db().
app/commands.py:48
Functionregister
()
app/auth/views.py:46
Functionrender_error
(e)
app/__init__.py:79
Methodsearchables
(self)
app/database.py:86
Functionsend_registration_email
Sends a registratiion email to the given uid.
app/jobs.py:9
MethodsetUp
(self)
tests.py:17
Methodsortables
(self)
app/database.py:82
MethodtearDown
(self)
tests.py:22
Methodtest_404
(self)
tests.py:49
Methodtest_delete_user
(self)
tests.py:79
Methodtest_edit_user
(self)
tests.py:73
Methodtest_index
(self)
tests.py:53
Methodtest_login
(self)
tests.py:57
Methodtest_logout
(self)
tests.py:61
Methodtest_register_user
(self)
tests.py:66
Methodtest_user_list
(self)
tests.py:85
Functionupgrade
()
migrations/versions/1fb7c6da302_.py:17
Functionurl_for_other_page
Returns a URL aimed at the current request endpoint and query args.
app/utils.py:4
Methodvalidate
(self)
app/auth/forms.py:17
Methodvalidate
(self)
app/user/forms.py:43
Functionverify
(token)
app/auth/views.py:75